mesa: fix query of GL_TEXTURE_COMPRESSION_HINT_ARB
authorBaldur Karlsson <baldurk@baldurk.org>
Thu, 1 Feb 2018 18:31:56 +0000 (11:31 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 1 Feb 2018 18:58:02 +0000 (11:58 -0700)
Fixes: f96a69f916a ("mesa: replace GLenum with GLenum16 in common
structures (v4)")
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104908
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/get_hash_params.py

index e10282a156513478e2f9f239d848c0d7a0662763..df082af20740bbefb6e13dbaf97c87ca3d769a07 100644 (file)
@@ -783,7 +783,7 @@ descriptor=[
   [ "EDGE_FLAG_ARRAY_COUNT_EXT", "CONST(0), NO_EXTRA" ],
 
 # GL_ARB_texture_compression
-  [ "TEXTURE_COMPRESSION_HINT_ARB", "CONTEXT_INT(Hint.TextureCompression), NO_EXTRA" ],
+  [ "TEXTURE_COMPRESSION_HINT_ARB", "CONTEXT_ENUM16(Hint.TextureCompression), NO_EXTRA" ],
 
 # GL_EXT_compiled_vertex_array
   [ "ARRAY_ELEMENT_LOCK_FIRST_EXT", "CONTEXT_INT(Array.LockFirst), NO_EXTRA" ],