mesa: added GL_MAX_SAMPLES query for GL_ARB_fbo

This commit is contained in:
Brian Paul
2009-01-20 15:19:45 -07:00
parent 4fc16fb7e9
commit 515c118a7e
2 changed files with 17 additions and 1 deletions

View File

@@ -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"] )
]