diff options
| author | Brian Paul <brianp@vmware.com> | 2009-01-06 14:18:45 -0700 | 
|---|---|---|
| committer | José Fonseca <jfonseca@vmware.com> | 2009-01-08 12:05:33 +0000 | 
| commit | 0f5c71afd9b5b2f73721d443c3ccffdf8663aee0 (patch) | |
| tree | abff24140e2a2438075c8b8ea0b32fafca90ba98 /src/mesa | |
| parent | a86776dba4cb328f5ed5f97c46d262ee6b90456a (diff) | |
mesa: fix float->int mapping for glGetIntegerv(GL_DEPTH_CLEAR_VALUE)
(cherry picked from commit 8124faf89d638285d8e9aa93adc3ca7f4ee729f3)
Conflicts:
	src/mesa/main/get.c
Diffstat (limited to 'src/mesa')
| -rw-r--r-- | src/mesa/main/get.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c index 8122c9f88f..f72aa6a288 100644 --- a/src/mesa/main/get.c +++ b/src/mesa/main/get.c @@ -2137,7 +2137,7 @@ _mesa_GetFloatv( GLenum pname, GLfloat *params )           params[0] = (GLfloat)(ctx->DrawBuffer->Visual.depthBits);           break;        case GL_DEPTH_CLEAR_VALUE: -         params[0] = (GLfloat)(ctx->Depth.Clear); +         params[0] = ctx->Depth.Clear;           break;        case GL_DEPTH_FUNC:           params[0] = ENUM_TO_FLOAT(ctx->Depth.Func); | 
