diff options
author | Francisco Jerez <currojerez@riseup.net> | 2010-03-04 21:40:47 +0100 |
---|---|---|
committer | Francisco Jerez <currojerez@riseup.net> | 2010-03-04 23:07:11 +0100 |
commit | 9c21c1e865ad3008eb6f4d6d4e4a48c2ed94472d (patch) | |
tree | 3a578e18f8a7b0a267f202ed64cb7fa23932db27 | |
parent | 80316cbefaa28454ab9d6da44ac93805608c3685 (diff) |
dri/nouveau: Fix rb->DataType for z24s8 renderbuffers.
-rw-r--r-- | src/mesa/drivers/dri/nouveau/nouveau_fbo.c | 2 |
1 files changed, 1 insertions, 1 deletions
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: |