From a40e6f220ac7e41126b9815db27d362bda719bf6 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 20 Apr 2010 21:02:09 -0600 Subject: mesa: API and state for GL 3.1 primitive restart --- src/mesa/main/get_gen.py | 6 ++++++ 1 file changed, 6 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 63b64a97a93..0279ec9d1d3 100644 --- a/src/mesa/main/get_gen.py +++ b/src/mesa/main/get_gen.py @@ -1145,6 +1145,12 @@ StateVars = [ ( "GL_MINOR_VERSION", GLint, ["ctx->VersionMinor"], "", NoState, NoExt ), ( "GL_CONTEXT_FLAGS", GLint, ["ctx->Const.ContextFlags"], "", NoState, NoExt ), + # GL 3.1 + ( "GL_PRIMITIVE_RESTART", GLboolean, + ["ctx->Array.PrimitiveRestart"], "", NoState, NoExt ), + ( "GL_PRIMITIVE_RESTART_INDEX", GLint, + ["ctx->Array.RestartIndex"], "", NoState, NoExt ), + # GL 3.2 ( "GL_CONTEXT_PROFILE_MASK", GLint, ["ctx->Const.ProfileMask"], "", NoState, NoExt ) -- cgit v1.2.3