mirror of
https://github.com/TomHarte/CLK.git
synced 2024-07-30 23:29:08 +00:00
Commented out sync; it can probably be implicit.
This commit is contained in:
parent
902017a962
commit
197cf2a834
@ -43,12 +43,12 @@ struct CRTInputBufferBuilder {
|
|||||||
{
|
{
|
||||||
_next_write_x_position = 0;
|
_next_write_x_position = 0;
|
||||||
_next_write_y_position = (_next_write_y_position+1)%InputBufferBuilderHeight;
|
_next_write_y_position = (_next_write_y_position+1)%InputBufferBuilderHeight;
|
||||||
if(!_next_write_y_position)
|
// if(!_next_write_y_position)
|
||||||
{
|
// {
|
||||||
glClientWaitSync(_wraparound_sync, 0, ~(GLuint64)0);
|
// glClientWaitSync(_wraparound_sync, 0, ~(GLuint64)0);
|
||||||
glDeleteSync(_wraparound_sync);
|
// glDeleteSync(_wraparound_sync);
|
||||||
_wraparound_sync = glFenceSync(GL_SYNC_GPU_COMMANDS_COMPLETE, 0);
|
// _wraparound_sync = glFenceSync(GL_SYNC_GPU_COMMANDS_COMPLETE, 0);
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
inline uint8_t *get_write_target(uint8_t *buffer)
|
inline uint8_t *get_write_target(uint8_t *buffer)
|
||||||
|
Loading…
Reference in New Issue
Block a user