diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2008-09-25 11:54:00 -0600 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2008-09-25 11:54:00 -0600 |
commit | 8124faf89d638285d8e9aa93adc3ca7f4ee729f3 (patch) | |
tree | 0dcccef4d909dffe078aa3922bbfdfcbf86e4f10 /src/mesa/main/get_gen.py | |
parent | 6222eb3fcd12147ea2e7ccc20a71a921cebbb0d2 (diff) |
mesa: fix float->int mapping for glGetIntegerv(GL_DEPTH_CLEAR_VALUE)
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 decc9dd52a..dc543eb003 100644 --- a/src/mesa/main/get_gen.py +++ b/src/mesa/main/get_gen.py @@ -179,7 +179,7 @@ StateVars = [ ( "GL_DEPTH_BIAS", GLfloat, ["ctx->Pixel.DepthBias"], "", None ), ( "GL_DEPTH_BITS", GLint, ["ctx->DrawBuffer->Visual.depthBits"], "", None ), - ( "GL_DEPTH_CLEAR_VALUE", GLfloat, ["ctx->Depth.Clear"], "", None ), + ( "GL_DEPTH_CLEAR_VALUE", GLfloatN, ["ctx->Depth.Clear"], "", None ), ( "GL_DEPTH_FUNC", GLenum, ["ctx->Depth.Func"], "", None ), ( "GL_DEPTH_RANGE", GLfloatN, [ "ctx->Viewport.Near", "ctx->Viewport.Far" ], "", None ), |