From: Baldur Karlsson Date: Thu, 1 Feb 2018 18:31:56 +0000 (-0700) Subject: mesa: fix query of GL_TEXTURE_COMPRESSION_HINT_ARB X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=030821a8737cd8a7be001e40dafc1879f3df7866;p=mesa.git 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 --- diff --git a/src/mesa/main/get_hash_params.py b/src/mesa/main/get_hash_params.py index e10282a1565..df082af2074 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" ],