projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da1fb3b
)
radeon: fix incorrect Z format in radeon_alloc_renderbuffer_storage()
author
Brian Paul
<brianp@vmware.com>
Thu, 29 Oct 2009 13:47:34 +0000
(07:47 -0600)
committer
Brian Paul
<brianp@vmware.com>
Thu, 29 Oct 2009 13:47:41 +0000
(07:47 -0600)
And update error message.
src/mesa/drivers/dri/radeon/radeon_fbo.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/radeon/radeon_fbo.c
b/src/mesa/drivers/dri/radeon/radeon_fbo.c
index 8dda47fcd1c818b83db5c93c2539c5694aa46d88..bf69cd933709a162a6509f1a4da922d47d7161df 100644
(file)
--- a/
src/mesa/drivers/dri/radeon/radeon_fbo.c
+++ b/
src/mesa/drivers/dri/radeon/radeon_fbo.c
@@
-133,7
+133,7
@@
radeon_alloc_renderbuffer_storage(GLcontext * ctx, struct gl_renderbuffer *rb,
case GL_DEPTH_COMPONENT:
case GL_DEPTH_COMPONENT24:
case GL_DEPTH_COMPONENT32:
- rb->Format = MESA_FORMAT_
Z32
;
+ rb->Format = MESA_FORMAT_
X8_Z24
;
rb->DataType = GL_UNSIGNED_INT;
cpp = 4;
break;
@@
-145,7
+145,7
@@
radeon_alloc_renderbuffer_storage(GLcontext * ctx, struct gl_renderbuffer *rb,
break;
default:
_mesa_problem(ctx,
- "Unexpected format in
intel
_alloc_renderbuffer_storage");
+ "Unexpected format in
radeon
_alloc_renderbuffer_storage");
return GL_FALSE;
}