summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaldur Karlsson <baldurk@baldurk.org>2018-02-01 11:31:56 -0700
committerBrian Paul <brianp@vmware.com>2018-02-01 11:58:02 -0700
commit030821a8737cd8a7be001e40dafc1879f3df7866 (patch)
treede32f593a8d8962026f5a5b90b3c47e68ba37ead
parent0c71a19fe4368beaaf7ac676403b3079ad658890 (diff)
mesa: fix query of GL_TEXTURE_COMPRESSION_HINT_ARB
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>
-rw-r--r--src/mesa/main/get_hash_params.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/get_hash_params.py b/src/mesa/main/get_hash_params.py
index e10282a156..df082af207 100644
--- a/src/mesa/main/get_hash_params.py
+++ b/src/mesa/main/get_hash_params.py
@@ -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" ],