diff options
author | Francisco Jerez <[email protected]> | 2010-09-15 06:05:53 +0200 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2010-09-16 19:44:22 +0200 |
commit | 39658f32eaf1acc9603a9a5a2242fba8fd49e08f (patch) | |
tree | b905a2d656663806038d3c3e135d3bca9f5f45df /src/mesa/drivers/dri/nouveau | |
parent | cbe0dd0f5a5468f821fe39b855e83ae19f28aa7f (diff) |
dri/nouveau: Fix glRenderbufferStorage with DEPTH_COMPONENT as internal format.
Diffstat (limited to 'src/mesa/drivers/dri/nouveau')
-rw-r--r-- | 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 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: |