dri/nouveau: Set _BaseFormat correctly for z24s8 renderbuffers.

This commit is contained in:
Francisco Jerez
2010-02-21 14:30:31 +01:00
parent 91af398b32
commit 9a8e374c46
+1 -1
View File
@@ -70,7 +70,7 @@ set_renderbuffer_format(struct gl_renderbuffer *rb, GLenum internalFormat)
case GL_DEPTH_COMPONENT24:
case GL_STENCIL_INDEX8_EXT:
case GL_DEPTH24_STENCIL8_EXT:
rb->_BaseFormat = GL_DEPTH_COMPONENT;
rb->_BaseFormat = GL_DEPTH_STENCIL;
rb->Format = MESA_FORMAT_Z24_S8;
rb->DataType = GL_UNSIGNED_INT;
s->cpp = 4;