summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/get_gen.py
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2006-09-13 21:02:32 +0000
committerBrian Paul <[email protected]>2006-09-13 21:02:32 +0000
commitfd2e402359e39d2afb9dcce9c64fe09906c4a877 (patch)
tree9c4035f829894cd4a746ec272b8381680aa5818a /src/mesa/main/get_gen.py
parentbd5331f9e86bdb112624ac30bf6b843675a5830c (diff)
added GL_CURRENT_RASTER_SECONDARY_COLOR query (OpenGL 2.1)
Diffstat (limited to 'src/mesa/main/get_gen.py')
-rw-r--r--src/mesa/main/get_gen.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mesa/main/get_gen.py b/src/mesa/main/get_gen.py
index e6e1828800f..4680fea2771 100644
--- a/src/mesa/main/get_gen.py
+++ b/src/mesa/main/get_gen.py
@@ -2,7 +2,7 @@
# Mesa 3-D graphics library
#
-# Copyright (C) 1999-2005 Brian Paul All Rights Reserved.
+# Copyright (C) 1999-2006 Brian Paul All Rights Reserved.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
@@ -157,6 +157,11 @@ StateVars = [
"ctx->Current.RasterPos[1]",
"ctx->Current.RasterPos[2]",
"ctx->Current.RasterPos[3]"], "", None ),
+ ( "GL_CURRENT_RASTER_SECONDARY_COLOR", GLfloatN,
+ ["ctx->Current.RasterSecondaryColor[0]",
+ "ctx->Current.RasterSecondaryColor[1]",
+ "ctx->Current.RasterSecondaryColor[2]",
+ "ctx->Current.RasterSecondaryColor[3]"], "", None ),
( "GL_CURRENT_RASTER_TEXTURE_COORDS", GLfloat,
["ctx->Current.RasterTexCoords[texUnit][0]",
"ctx->Current.RasterTexCoords[texUnit][1]",