projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a86776d
)
mesa: fix float->int mapping for glGetIntegerv(GL_DEPTH_CLEAR_VALUE)
author
Brian Paul
<brianp@vmware.com>
Tue, 6 Jan 2009 21:18:45 +0000
(14:18 -0700)
committer
José Fonseca
<jfonseca@vmware.com>
Thu, 8 Jan 2009 12:05:33 +0000
(12:05 +0000)
(cherry picked from commit
8124faf89d638285d8e9aa93adc3ca7f4ee729f3
)
Conflicts:
src/mesa/main/get.c
src/mesa/main/get.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/get.c
b/src/mesa/main/get.c
index
8122c9f
..
f72aa6a
100644
(file)
--- 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);