From: Brian Date: Tue, 6 Nov 2007 22:15:49 +0000 (-0700) Subject: disable finish_or_flush() for now X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5fb6ebf85d778aa68df96ccf71fcaba8cf691b32;p=mesa.git disable finish_or_flush() for now --- diff --git a/src/mesa/pipe/xlib/xm_api.c b/src/mesa/pipe/xlib/xm_api.c index 2d07f17bfef..0e303d597ab 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; }