From d5e4f29cb9ef5af7214887e84fb31f27fbfe1100 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 4 Mar 2004 16:22:01 +0000 Subject: a bunch of assorted clean-ups, etc to fix warnings, etc --- src/mesa/drivers/x11/xm_api.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/mesa/drivers/x11/xm_api.c') diff --git a/src/mesa/drivers/x11/xm_api.c b/src/mesa/drivers/x11/xm_api.c index c36c9c9c6a..189fde636e 100644 --- a/src/mesa/drivers/x11/xm_api.c +++ b/src/mesa/drivers/x11/xm_api.c @@ -882,8 +882,6 @@ static GLboolean setup_grayscale( int client, XMesaVisual v, static GLboolean setup_dithered_color( int client, XMesaVisual v, XMesaBuffer buffer, XMesaColormap cmap ) { - (void) DitherValues; /* silence warning */ - if (GET_VISUAL_DEPTH(v)<4 || GET_VISUAL_DEPTH(v)>16) { return GL_FALSE; } @@ -2602,8 +2600,6 @@ unsigned long XMesaDitherColor( XMesaContext xmesa, GLint x, GLint y, GLint b = (GLint) (blue * 255.0F); GLint a = (GLint) (alpha * 255.0F); - (void) DitherValues; /* silence warning */ - switch (xmesa->pixelformat) { case PF_Index: return 0; -- cgit v1.2.3