From: Francisco Jerez Date: Thu, 4 Mar 2010 20:40:47 +0000 (+0100) Subject: dri/nouveau: Fix rb->DataType for z24s8 renderbuffers. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9c21c1e865ad3008eb6f4d6d4e4a48c2ed94472d;p=mesa.git dri/nouveau: Fix rb->DataType for z24s8 renderbuffers. --- diff --git a/src/mesa/drivers/dri/nouveau/nouveau_fbo.c b/src/mesa/drivers/dri/nouveau/nouveau_fbo.c index 846478650e2..2ec3dc92420 100644 --- a/src/mesa/drivers/dri/nouveau/nouveau_fbo.c +++ b/src/mesa/drivers/dri/nouveau/nouveau_fbo.c @@ -72,7 +72,7 @@ set_renderbuffer_format(struct gl_renderbuffer *rb, GLenum internalFormat) case GL_DEPTH24_STENCIL8_EXT: rb->_BaseFormat = GL_DEPTH_STENCIL; rb->Format = MESA_FORMAT_Z24_S8; - rb->DataType = GL_UNSIGNED_INT; + rb->DataType = GL_UNSIGNED_INT_24_8_EXT; s->cpp = 4; break; default: