summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2001-03-27 16:42:37 +0000
committerBrian Paul <[email protected]>2001-03-27 16:42:37 +0000
commit06ed3f0a0af158fc3591771fdeaeac363ced57f6 (patch)
tree7bce7ff1bb250fb43002181d76598e8d5651482d /src/mesa/drivers
parent6dbb39025cac10aac98e37ee72539e3c2a81a161 (diff)
silence compiler warnings
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/glide/fxapi.c4
-rw-r--r--src/mesa/drivers/glide/fxdd.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/drivers/glide/fxapi.c b/src/mesa/drivers/glide/fxapi.c
index 9ca044d0a58..72f2a4538b7 100644
--- a/src/mesa/drivers/glide/fxapi.c
+++ b/src/mesa/drivers/glide/fxapi.c
@@ -388,7 +388,7 @@ fxMesaCreateContext(GLuint win,
fxMesa->glideContext = FX_grSstWinOpen((FxU32) win, res, ref,
-#if FXMESA_USE_ARGB
+#ifdef FXMESA_USE_ARGB
GR_COLORFORMAT_ARGB,
#else
GR_COLORFORMAT_ABGR,
@@ -403,7 +403,7 @@ fxMesaCreateContext(GLuint win,
* Pixel tables are use during pixel read-back
* Either initialize them for RGB or BGR order.
*/
-#if FXMESA_USE_ARGB
+#ifdef FXMESA_USE_ARGB
useBGR = GL_FALSE; /* Force RGB pixel order */
system = "FXMESA_USE_ARGB";
#else
diff --git a/src/mesa/drivers/glide/fxdd.c b/src/mesa/drivers/glide/fxdd.c
index d389124ff57..c129978f769 100644
--- a/src/mesa/drivers/glide/fxdd.c
+++ b/src/mesa/drivers/glide/fxdd.c
@@ -748,7 +748,7 @@ fxDDInitFxMesaContext(fxMesaContext fxMesa)
if (fxMesa->haveZBuffer)
FX_grDepthBufferMode(GR_DEPTHBUFFER_ZBUFFER);
-#if (!FXMESA_USE_ARGB)
+#ifndef FXMESA_USE_ARGB
FX_grLfbWriteColorFormat(GR_COLORFORMAT_ABGR); /* Not every Glide has this */
#endif