projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
497baf4
)
radeon: add default switch case to silence unhandled enum warning
author
Brian Paul
<brianp@vmware.com>
Mon, 21 Feb 2011 22:11:44 +0000
(15:11 -0700)
committer
Brian Paul
<brianp@vmware.com>
Mon, 21 Feb 2011 22:15:52 +0000
(15:15 -0700)
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 6656d391e0966b2ba020001209ffd428486b63d8..d3c9257fb6611c0828ac94cdf44172718a10a330 100644
(file)
--- a/
src/mesa/drivers/dri/radeon/radeon_fbo.c
+++ b/
src/mesa/drivers/dri/radeon/radeon_fbo.c
@@
-485,6
+485,8
@@
radeon_update_wrapper(struct gl_context *ctx, struct radeon_renderbuffer *rrb,
case MESA_FORMAT_S8_Z24:
rrb->base.DataType = GL_UNSIGNED_INT_24_8_EXT;
break;
+ default:
+ _mesa_problem(ctx, "Unexpected texture format in radeon_update_wrapper()");
}
rrb->cpp = _mesa_get_format_bytes(texImage->TexFormat);