Revert "cameraview.cc: call glFlush after creating fence"

This reverts commit 8655f6df6b.
This commit is contained in:
Adeeb Shihadeh
2022-01-04 20:16:42 -08:00
parent f30a702414
commit 34926dfab5
-4
View File
@@ -309,10 +309,6 @@ void CameraViewWidget::vipcThread() {
assert(glGetError() == GL_NO_ERROR);
wait_fence.reset(new WaitFence());
// Ensure the fence is in the GPU command queue, or waiting on it might block
// https://www.khronos.org/opengl/wiki/Sync_Object#Flushing_and_contexts
glFlush();
}
latest_texture_id = buf->idx;
}