diff options
author | Brian Paul <[email protected]> | 2009-01-06 14:21:27 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-01-06 14:21:27 -0700 |
commit | d14d494dcda3d80ec2cf452551c680ffb432e306 (patch) | |
tree | 8bf4c1b2fed72612aec82b76246604a26f90c1ed /src/mesa/main/get_gen.py | |
parent | c3be5e4a050561e25854f38aa221bbf657848762 (diff) |
mesa: fix GL_DEPTH_CLEAR_VALUE casting
Diffstat (limited to 'src/mesa/main/get_gen.py')
-rw-r--r-- | src/mesa/main/get_gen.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/get_gen.py b/src/mesa/main/get_gen.py index f99e0a080dc..cbac9080571 100644 --- a/src/mesa/main/get_gen.py +++ b/src/mesa/main/get_gen.py @@ -180,7 +180,7 @@ StateVars = [ ( "GL_DEPTH_BIAS", GLfloat, ["ctx->Pixel.DepthBias"], "", None ), ( "GL_DEPTH_BITS", GLint, ["ctx->DrawBuffer->Visual.depthBits"], "", None ), - ( "GL_DEPTH_CLEAR_VALUE", GLfloatN, ["ctx->Depth.Clear"], "", None ), + ( "GL_DEPTH_CLEAR_VALUE", GLfloatN, ["((GLfloat) ctx->Depth.Clear)"], "", None ), ( "GL_DEPTH_FUNC", GLenum, ["ctx->Depth.Func"], "", None ), ( "GL_DEPTH_RANGE", GLfloatN, [ "ctx->Viewport.Near", "ctx->Viewport.Far" ], "", None ), |