From 39658f32eaf1acc9603a9a5a2242fba8fd49e08f Mon Sep 17 00:00:00 2001 From: Francisco Jerez Date: Wed, 15 Sep 2010 06:05:53 +0200 Subject: [PATCH] dri/nouveau: Fix glRenderbufferStorage with DEPTH_COMPONENT as internal format. --- src/mesa/drivers/dri/nouveau/nouveau_fbo.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/drivers/dri/nouveau/nouveau_fbo.c b/src/mesa/drivers/dri/nouveau/nouveau_fbo.c index 32d8f2d0f9b..a02a052c6d4 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: -- 2.30.2