diff options
author | Brian <[email protected]> | 2007-03-09 15:41:25 -0700 |
---|---|---|
committer | Brian <[email protected]> | 2007-03-09 15:41:25 -0700 |
commit | b9ea9361500979b318574ac69ce656ea3af6a197 (patch) | |
tree | 4e07dceeb3f2aa0600c2a1b2bc9e8184bdf60c2b /src/mesa/main/get_gen.py | |
parent | 2cf5fd48d1586f961910a14324a457854cb66221 (diff) |
added GL_CURRENT_PROGRAM
Diffstat (limited to 'src/mesa/main/get_gen.py')
-rw-r--r-- | src/mesa/main/get_gen.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/mesa/main/get_gen.py b/src/mesa/main/get_gen.py index 2f07cc51926..3e66946b92f 100644 --- a/src/mesa/main/get_gen.py +++ b/src/mesa/main/get_gen.py @@ -993,7 +993,14 @@ StateVars = [ ( "GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB", GLint, ["ctx->Const.MaxVertexTextureImageUnits"], "", ["ARB_vertex_shader"] ), ( "GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB", GLint, - ["MAX_COMBINED_TEXTURE_IMAGE_UNITS"], "", ["ARB_vertex_shader"] ) + ["MAX_COMBINED_TEXTURE_IMAGE_UNITS"], "", ["ARB_vertex_shader"] ), + + # GL_ARB_shader_objects + # Actually, this token isn't part of GL_ARB_shader_objects, but is + # close enough for now. + ( "GL_CURRENT_PROGRAM", GLint, + ["ctx->Shader.CurrentProgram ? ctx->Shader.CurrentProgram->Name : 0"], + "", ["ARB_shader_objects"] ) ] |