glamor: sync_fence_set_triggered should use glFlush, not glFinish

I intended to use glFlush all along, but somehow managed to type
glFinish instead. glFlush is sufficient (for a single-queue GPU) to
ensure serialization between queued rendering in the X server and
future rendering from the client.

Signed-off-by: Keith Packard <keithp@keithp.com>
Reviewed-by: Jasper St. Pierre <jstpierre@mecheye.net>
This commit is contained in:
Keith Packard 2014-07-18 21:46:23 -07:00
parent cfa302d622
commit cff1293627

View File

@ -53,7 +53,7 @@ glamor_sync_fence_set_triggered (SyncFence *fence)
/* Flush pending rendering operations */
glamor_make_current(glamor);
glFinish();
glFlush();
fence->funcs.SetTriggered = glamor_fence->set_triggered;
fence->funcs.SetTriggered(fence);