Module: Mesa Branch: master Commit: 39658f32eaf1acc9603a9a5a2242fba8fd49e08f URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=39658f32eaf1acc9603a9a5a2242fba8fd49e08f
Author: Francisco Jerez <[email protected]> Date: Wed Sep 15 06:05:53 2010 +0200 dri/nouveau: Fix glRenderbufferStorage with DEPTH_COMPONENT as internal format. --- src/mesa/drivers/dri/nouveau/nouveau_fbo.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/mesa/drivers/dri/nouveau/nouveau_fbo.c b/src/mesa/drivers/dri/nouveau/nouveau_fbo.c index 32d8f2d..a02a052 100644 --- a/src/mesa/drivers/dri/nouveau/nouveau_fbo.c +++ b/src/mesa/drivers/dri/nouveau/nouveau_fbo.c @@ -67,6 +67,7 @@ set_renderbuffer_format(struct gl_renderbuffer *rb, GLenum internalFormat) rb->DataType = GL_UNSIGNED_SHORT; s->cpp = 2; break; + case GL_DEPTH_COMPONENT: case GL_DEPTH_COMPONENT24: case GL_STENCIL_INDEX8_EXT: case GL_DEPTH24_STENCIL8_EXT: _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
