mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-09 20:24:14 +00:00
[client] egl: there should only ever be a single sync object
This commit is contained in:
@@ -124,12 +124,6 @@ void eglTexUtilFreeBuffers(EGL_TexBuffer * buffers, int count)
|
||||
|
||||
eglTexUtilUnmapBuffer(buffer);
|
||||
glDeleteBuffers(1, &buffer->pbo);
|
||||
if (buffer->sync)
|
||||
{
|
||||
glDeleteSync(buffer->sync);
|
||||
buffer->sync = 0;
|
||||
}
|
||||
|
||||
buffer->pbo = 0;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user