summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/get_gen.py
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-01-20 15:19:45 -0700
committerBrian Paul <[email protected]>2009-01-22 15:18:24 -0700
commit515c118a7e6dfab39935cb4159824a715b45ed3a (patch)
tree626702f4d485ea5df5250d016ed70b46e1338c2f /src/mesa/main/get_gen.py
parent4fc16fb7e9b72c4535967804c031256637a97197 (diff)
mesa: added GL_MAX_SAMPLES query for GL_ARB_fbo
Diffstat (limited to 'src/mesa/main/get_gen.py')
-rw-r--r--src/mesa/main/get_gen.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mesa/main/get_gen.py b/src/mesa/main/get_gen.py
index a191b045d33..4bdbfed0bff 100644
--- a/src/mesa/main/get_gen.py
+++ b/src/mesa/main/get_gen.py
@@ -1009,7 +1009,11 @@ StateVars = [
# close enough for now.
( "GL_CURRENT_PROGRAM", GLint,
["ctx->Shader.CurrentProgram ? ctx->Shader.CurrentProgram->Name : 0"],
- "", ["ARB_shader_objects"] )
+ "", ["ARB_shader_objects"] ),
+
+ # GL_ARB_framebuffer_object
+ ( "GL_MAX_SAMPLES", GLint, ["ctx->Const.MaxSamples"], "",
+ ["ARB_framebuffer_object"] )
]