projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d35cb1a
)
disable finish_or_flush() for now
author
Brian
<brian.paul@tungstengraphics.com>
Tue, 6 Nov 2007 22:15:49 +0000
(15:15 -0700)
committer
Brian
<brian.paul@tungstengraphics.com>
Tue, 6 Nov 2007 22:22:56 +0000
(15:22 -0700)
src/mesa/pipe/xlib/xm_api.c
patch
|
blob
|
history
diff --git
a/src/mesa/pipe/xlib/xm_api.c
b/src/mesa/pipe/xlib/xm_api.c
index 2d07f17bfef2d4c72f1d6b8c02b41dc34f3de1b5..0e303d597ab5c3dbca9f2d774dfe0c36c03c69c2 100644
(file)
--- 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;
}