summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorFrancisco Jerez <[email protected]>2010-09-15 06:05:53 +0200
committerFrancisco Jerez <[email protected]>2010-09-16 19:44:22 +0200
commit39658f32eaf1acc9603a9a5a2242fba8fd49e08f (patch)
treeb905a2d656663806038d3c3e135d3bca9f5f45df /src/mesa/drivers/dri
parentcbe0dd0f5a5468f821fe39b855e83ae19f28aa7f (diff)
dri/nouveau: Fix glRenderbufferStorage with DEPTH_COMPONENT as internal format.
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r--src/mesa/drivers/dri/nouveau/nouveau_fbo.c1
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 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: