From d4f2d6556ec0bdaf7ef07fd34fa5d8a355fe2ec0 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 5 Jan 2010 21:24:48 -0700 Subject: mesa: added GL_MAJOR_VERSION and GL_MINOR_VERSION queries New in GL 3.0. --- src/mesa/main/get_gen.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mesa/main/get_gen.py') diff --git a/src/mesa/main/get_gen.py b/src/mesa/main/get_gen.py index 7540661187f..b0beb592075 100644 --- a/src/mesa/main/get_gen.py +++ b/src/mesa/main/get_gen.py @@ -1033,6 +1033,8 @@ StateVars = [ # GL3 ( "GL_NUM_EXTENSIONS", GLint, ["_mesa_get_extension_count(ctx)"], "", None ), + ( "GL_MAJOR_VERSION", GLint, ["ctx->VersionMajor"], "", None ), + ( "GL_MINOR_VERSION", GLint, ["ctx->VersionMinor"], "", None ) ] -- cgit v1.2.3