diff options
author | Brian Paul <[email protected]> | 2004-03-04 16:22:01 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2004-03-04 16:22:01 +0000 |
commit | d5e4f29cb9ef5af7214887e84fb31f27fbfe1100 (patch) | |
tree | c49060e4e4d603cf76ce7fedbc33ae13ca55399b /src/mesa/drivers/x11/xm_api.c | |
parent | ff6031c2091b9a80af132a8459310a64c6de4feb (diff) |
a bunch of assorted clean-ups, etc to fix warnings, etc
Diffstat (limited to 'src/mesa/drivers/x11/xm_api.c')
-rw-r--r-- | src/mesa/drivers/x11/xm_api.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/drivers/x11/xm_api.c b/src/mesa/drivers/x11/xm_api.c index c36c9c9c6a2..189fde636e8 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; |