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:
parent
cfa302d622
commit
cff1293627
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user