mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 04:48:08 +02:00
disable finish_or_flush() for now
This commit is contained in:
parent
d35cb1a121
commit
5fb6ebf85d
1 changed files with 5 additions and 1 deletions
|
|
@ -1383,7 +1383,7 @@ static void
|
||||||
finish_or_flush( GLcontext *ctx )
|
finish_or_flush( GLcontext *ctx )
|
||||||
{
|
{
|
||||||
#ifdef XFree86Server
|
#ifdef XFree86Server
|
||||||
/* NOT_NEEDED */
|
/* NOT_NEEDED */
|
||||||
#else
|
#else
|
||||||
const XMesaContext xmesa = XMESA_CONTEXT(ctx);
|
const XMesaContext xmesa = XMESA_CONTEXT(ctx);
|
||||||
ctx->st->pipe->flush(ctx->st->pipe, 0);
|
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
|
static void
|
||||||
xmesa_init_driver_functions(struct dd_function_table *driver)
|
xmesa_init_driver_functions(struct dd_function_table *driver)
|
||||||
{
|
{
|
||||||
|
#if 0 /* not needed for now */
|
||||||
driver->Flush = finish_or_flush;
|
driver->Flush = finish_or_flush;
|
||||||
driver->Finish = finish_or_flush;
|
driver->Finish = finish_or_flush;
|
||||||
|
#else
|
||||||
|
(void) finish_or_flush;
|
||||||
|
#endif
|
||||||
driver->Viewport = xmesa_viewport;
|
driver->Viewport = xmesa_viewport;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue