From: Alan Hourihane Date: Mon, 26 Apr 2004 12:45:06 +0000 (+0000) Subject: remove DitherValues X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=18514500c47ce8f30bb9cc93ab48bf55ccdb9873;p=mesa.git remove DitherValues --- diff --git a/src/mesa/drivers/x11/xm_api.c b/src/mesa/drivers/x11/xm_api.c index 1a784c5fd85..bdf6f1d4286 100644 --- a/src/mesa/drivers/x11/xm_api.c +++ b/src/mesa/drivers/x11/xm_api.c @@ -794,8 +794,6 @@ noFaultXAllocColor( int client, static GLboolean setup_grayscale( int client, XMesaVisual v, XMesaBuffer buffer, XMesaColormap cmap ) { - (void) DitherValues; /* Muffle compiler */ - if (GET_VISUAL_DEPTH(v)<4 || GET_VISUAL_DEPTH(v)>16) { return GL_FALSE; }