diff options
Diffstat (limited to 'src/mesa/main/get_gen.py')
-rw-r--r-- | src/mesa/main/get_gen.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/get_gen.py b/src/mesa/main/get_gen.py index 8259972daa..9f1be8b935 100644 --- a/src/mesa/main/get_gen.py +++ b/src/mesa/main/get_gen.py @@ -1178,7 +1178,7 @@ _mesa_GetDoublev( GLenum pname, GLdouble *params ) _mesa_GetFloatv(pname, values); - for (i = 0; values[i] != magic && i < 16; i++) + for (i = 0; i < 16 && values[i] != magic; i++) params[i] = (GLdouble) values[i]; } """ |