summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/osmesa
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2006-04-25 00:31:22 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2006-04-25 00:31:22 +0000
commit5bdc6fdebc0ab59a888fba15136eb4a0ee2790e1 (patch)
tree0fc0fdcb05162c7774210abdcda77ee9fd13b99a /src/mesa/drivers/osmesa
parent095c6699f449ed4803f23e844cc0227743a9c3e1 (diff)
silence warnings
Diffstat (limited to 'src/mesa/drivers/osmesa')
-rw-r--r--src/mesa/drivers/osmesa/osmesa.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/osmesa/osmesa.c b/src/mesa/drivers/osmesa/osmesa.c
index 2d69885277..d88a55056f 100644
--- a/src/mesa/drivers/osmesa/osmesa.c
+++ b/src/mesa/drivers/osmesa/osmesa.c
@@ -602,6 +602,8 @@ osmesa_renderbuffer_storage(GLcontext *ctx, struct gl_renderbuffer *rb,
const OSMesaContext osmesa = OSMESA_CONTEXT(ctx);
/* Note: we can ignoring internalFormat for "window-system" renderbuffers */
+ (void) internalFormat;
+
if (osmesa->format == OSMESA_RGBA) {
rb->GetRow = get_row_RGBA;
rb->GetValues = get_values_RGBA;