mirror of
https://github.com/infiniteCable2/openpilot.git
synced 2026-08-06 00:36:29 +08:00
Revert "cameraview.cc: call glFlush after creating fence"
This reverts commit eac4c3cab90890e39b4a6009c59d023fb21997b8. old-commit-hash: 34926dfab58b6119cd2bf6cbf4fb83a937b22d18
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user