projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4c700d
)
mesa: use MESA_FORMAT_X8_Z24 format
author
Brian Paul
<brianp@vmware.com>
Thu, 22 Oct 2009 01:56:18 +0000
(19:56 -0600)
committer
Brian Paul
<brianp@vmware.com>
Thu, 22 Oct 2009 01:56:18 +0000
(19:56 -0600)
src/mesa/main/depthstencil.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/depthstencil.c
b/src/mesa/main/depthstencil.c
index
803dc6c
..
6fefdac
100644
(file)
--- a/
src/mesa/main/depthstencil.c
+++ b/
src/mesa/main/depthstencil.c
@@
-366,7
+366,7
@@
_mesa_new_z24_renderbuffer_wrapper(GLcontext *ctx,
z24rb->Width = dsrb->Width;
z24rb->Height = dsrb->Height;
z24rb->InternalFormat = GL_DEPTH_COMPONENT24;
- z24rb->Format = MESA_FORMAT_
Z24_S8
;
+ z24rb->Format = MESA_FORMAT_
X8_Z24
;
z24rb->_BaseFormat = GL_DEPTH_COMPONENT;
z24rb->DataType = GL_UNSIGNED_INT;
z24rb->Data = NULL;