mirror of
https://github.com/TomHarte/CLK.git
synced 2024-12-26 09:29:45 +00:00
Switched to a client wait, as I try to figure out what's going on.
This commit is contained in:
parent
2e4af90e2d
commit
620257e29e
@ -197,7 +197,7 @@ void OpenGLOutputBuilder::draw_frame(unsigned int output_width, unsigned int out
|
||||
{
|
||||
if(_output_buffer_sync)
|
||||
{
|
||||
glWaitSync(_output_buffer_sync, 0, GL_TIMEOUT_IGNORED);
|
||||
glClientWaitSync(_output_buffer_sync, GL_SYNC_FLUSH_COMMANDS_BIT, ~(GLuint64)0);
|
||||
glDeleteSync(_output_buffer_sync);
|
||||
}
|
||||
_output_buffer_sync = glFenceSync(GL_SYNC_GPU_COMMANDS_COMPLETE, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user