diff options
author | Brian Paul <[email protected]> | 2005-04-30 18:30:16 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2005-04-30 18:30:16 +0000 |
commit | 1c54579e8687feee98a439b65c41d06f26804492 (patch) | |
tree | 0dba6f53e38cb435aa60d0103825483ac73299b9 /src/mesa/main/get_gen.py | |
parent | 7d33053e47c8e70a1530d810babab6294ae19782 (diff) |
apply previous GL_COMPRESSED_TEXTURE_FORMATS_ARB fix to generator file, and regenerate get.c
Diffstat (limited to 'src/mesa/main/get_gen.py')
-rw-r--r-- | src/mesa/main/get_gen.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/main/get_gen.py b/src/mesa/main/get_gen.py index 848b593c12c..b3e6bc58559 100644 --- a/src/mesa/main/get_gen.py +++ b/src/mesa/main/get_gen.py @@ -508,8 +508,9 @@ StateVars = [ [], """GLint formats[100]; GLuint i, n = _mesa_get_compressed_formats(ctx, formats); + ASSERT(n <= 100); for (i = 0; i < n; i++) - params[i] = ENUM_TO_BOOLEAN(formats[i]);""", + params[i] = ENUM_TO_INT(formats[i]);""", "ARB_texture_compression" ), # GL_EXT_compiled_vertex_array |