Module: Mesa Branch: master Commit: 0b34074bdb978c95b8de65517143c546ac0cf75f URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0b34074bdb978c95b8de65517143c546ac0cf75f
Author: Fabio Pedretti <[email protected]> Date: Tue Dec 6 08:42:54 2011 -0700 osmesa: remove unused bpc variable Signed-off-by: Brian Paul <[email protected]> --- src/mesa/drivers/osmesa/osmesa.c | 8 -------- 1 files changed, 0 insertions(+), 8 deletions(-) diff --git a/src/mesa/drivers/osmesa/osmesa.c b/src/mesa/drivers/osmesa/osmesa.c index 4e6d5b6..be3bc6e 100644 --- a/src/mesa/drivers/osmesa/osmesa.c +++ b/src/mesa/drivers/osmesa/osmesa.c @@ -795,14 +795,6 @@ osmesa_renderbuffer_storage(struct gl_context *ctx, struct gl_renderbuffer *rb, GLenum internalFormat, GLuint width, GLuint height) { const OSMesaContext osmesa = OSMESA_CONTEXT(ctx); - GLint bpc; /* bits per channel */ - - if (rb->DataType == GL_UNSIGNED_BYTE) - bpc = 8; - else if (rb->DataType == GL_UNSIGNED_SHORT) - bpc = 16; - else - bpc = 32; /* Note: we can ignoring internalFormat for "window-system" renderbuffers */ (void) internalFormat; _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
