summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/xlib
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-11-06 15:15:49 -0700
committerBrian <brian.paul@tungstengraphics.com>2007-11-06 15:22:56 -0700
commit5fb6ebf85d778aa68df96ccf71fcaba8cf691b32 (patch)
tree2ec0e6eb75573cbb3bbb82520c61eabfa180e444 /src/mesa/pipe/xlib
parentd35cb1a121c272bf5be29fc62d59f4f71724201a (diff)
disable finish_or_flush() for now
Diffstat (limited to 'src/mesa/pipe/xlib')
-rw-r--r--src/mesa/pipe/xlib/xm_api.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mesa/pipe/xlib/xm_api.c b/src/mesa/pipe/xlib/xm_api.c
index 2d07f17bfe..0e303d597a 100644
--- a/src/mesa/pipe/xlib/xm_api.c
+++ b/src/mesa/pipe/xlib/xm_api.c
@@ -1383,7 +1383,7 @@ static void
finish_or_flush( GLcontext *ctx )
{
#ifdef XFree86Server
- /* NOT_NEEDED */
+ /* NOT_NEEDED */
#else
const XMesaContext xmesa = XMESA_CONTEXT(ctx);
ctx->st->pipe->flush(ctx->st->pipe, 0);
@@ -1429,8 +1429,12 @@ xmesa_viewport(GLcontext *ctx, GLint x, GLint y, GLsizei w, GLsizei h)
static void
xmesa_init_driver_functions(struct dd_function_table *driver)
{
+#if 0 /* not needed for now */
driver->Flush = finish_or_flush;
driver->Finish = finish_or_flush;
+#else
+ (void) finish_or_flush;
+#endif
driver->Viewport = xmesa_viewport;
}