diff options
author | Brian Paul <[email protected]> | 2003-11-25 16:02:39 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2003-11-25 16:02:39 +0000 |
commit | 97d8a35fa8bf906be5413dbde822e828f9075604 (patch) | |
tree | 992693f148ca5afbc942c929209d53d762e78b66 | |
parent | 47b0bc1a36f4a6c3af1c9c76ee96e97c29376d71 (diff) |
silence a warning
-rw-r--r-- | src/mesa/drivers/x11/xm_api.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/x11/xm_api.c b/src/mesa/drivers/x11/xm_api.c index 2ad5a156ff5..d800de97d5b 100644 --- a/src/mesa/drivers/x11/xm_api.c +++ b/src/mesa/drivers/x11/xm_api.c @@ -21,7 +21,6 @@ * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -/* $XFree86: xc/extras/Mesa/src/X/xm_api.c,v 1.2 2002/02/26 23:37:31 tsi Exp $ */ /* * This file contains the implementations of all the XMesa* functions. @@ -2560,6 +2559,8 @@ 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; |