Mesa (master): mesa: fix query of GL_TEXTURE_COMPRESSION_HINT_ARB
Brian Paul
brianp at kemper.freedesktop.org
Thu Feb 1 19:00:10 UTC 2018
Module: Mesa
Branch: master
Commit: 030821a8737cd8a7be001e40dafc1879f3df7866
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=030821a8737cd8a7be001e40dafc1879f3df7866
Author: Baldur Karlsson <baldurk at baldurk.org>
Date: Thu Feb 1 11:31:56 2018 -0700
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 at vmware.com>
---
src/mesa/main/get_hash_params.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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" ],
More information about the mesa-commit
mailing list