diff options
Diffstat (limited to 'src/mesa/main/get.c')
-rw-r--r-- | src/mesa/main/get.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c index 4e346fb14bf..78f776ccf62 100644 --- a/src/mesa/main/get.c +++ b/src/mesa/main/get.c @@ -4769,7 +4769,7 @@ _mesa_GetIntegerv( GLenum pname, GLint *params ) GLint formats[100]; GLuint i, n = _mesa_get_compressed_formats(ctx, formats); for (i = 0; i < n; i++) - params[i] = ENUM_TO_BOOLEAN(formats[i]); + params[i] = ENUM_TO_INT(formats[i]); } break; case GL_ARRAY_ELEMENT_LOCK_FIRST_EXT: |