aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/x11/xm_api.c
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-08-17 10:28:20 +0100
committerBrian <[email protected]>2007-08-17 10:28:20 +0100
commitae64d5c173a4525800383668cc91c176a1bd7a15 (patch)
tree8b29d0922354be0728182d532764f32b6aa99b77 /src/mesa/drivers/x11/xm_api.c
parent93efcf50fae7bdd9ee9468f4f4049ecb4c06e2df (diff)
fix buffer clearing problems
Diffstat (limited to 'src/mesa/drivers/x11/xm_api.c')
-rw-r--r--src/mesa/drivers/x11/xm_api.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/mesa/drivers/x11/xm_api.c b/src/mesa/drivers/x11/xm_api.c
index cea790dc608..69b7277c1b4 100644
--- a/src/mesa/drivers/x11/xm_api.c
+++ b/src/mesa/drivers/x11/xm_api.c
@@ -1591,12 +1591,8 @@ XMesaContext XMesaCreateContext( XMesaVisual v, XMesaContext share_list )
mesaCtx->st->pipe->surface_alloc = xmesa_surface_alloc;
mesaCtx->st->pipe->supported_formats = xmesa_supported_formats;
-#if 1
- mesaCtx->Driver.Clear = xmesa_clear_buffers;
-#endif
-#if 0
+ /* special pipe->clear function */
mesaCtx->st->pipe->clear = xmesa_clear;
-#endif
return c;
}