From 197cf2a8343f5308788c6a7cb3c193b355a6a608 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Sun, 20 Mar 2016 21:42:05 -0400 Subject: [PATCH] Commented out sync; it can probably be implicit. --- Outputs/CRT/Internals/CRTInputBufferBuilder.hpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Outputs/CRT/Internals/CRTInputBufferBuilder.hpp b/Outputs/CRT/Internals/CRTInputBufferBuilder.hpp index 440ab178d..d6eab1ab1 100644 --- a/Outputs/CRT/Internals/CRTInputBufferBuilder.hpp +++ b/Outputs/CRT/Internals/CRTInputBufferBuilder.hpp @@ -43,12 +43,12 @@ struct CRTInputBufferBuilder { { _next_write_x_position = 0; _next_write_y_position = (_next_write_y_position+1)%InputBufferBuilderHeight; - if(!_next_write_y_position) - { - glClientWaitSync(_wraparound_sync, 0, ~(GLuint64)0); - glDeleteSync(_wraparound_sync); - _wraparound_sync = glFenceSync(GL_SYNC_GPU_COMMANDS_COMPLETE, 0); - } +// if(!_next_write_y_position) +// { +// glClientWaitSync(_wraparound_sync, 0, ~(GLuint64)0); +// glDeleteSync(_wraparound_sync); +// _wraparound_sync = glFenceSync(GL_SYNC_GPU_COMMANDS_COMPLETE, 0); +// } } inline uint8_t *get_write_target(uint8_t *buffer)