diff options
author | Brian Paul <brianp@vmware.com> | 2011-02-21 15:11:44 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2011-02-21 15:15:52 -0700 |
commit | f9e1542286a05e9773f8f31ee75887f6da969cdb (patch) | |
tree | 945459868ebfaa9e2330b660e114ff8007c78345 | |
parent | 497baf4e4a6a0a2f247c7bfb9bf69a2b93c2c19f (diff) |
radeon: add default switch case to silence unhandled enum warning
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_fbo.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_fbo.c b/src/mesa/drivers/dri/radeon/radeon_fbo.c index 6656d391e0..d3c9257fb6 100644 --- 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); |