X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=shared%2Fref_counted_gl_sync.h;h=e6139426b88c22ae602ce5e5ee9d6ec4eccd92d0;hb=f7752bad9a473d26ff1fa7c83ac82dca098b63bb;hp=5604e9e6f8f9a2707c9d2f0e0170d04c3efc688c;hpb=eeda8995329601f9f4e35047358400833eeae68e;p=nageru diff --git a/shared/ref_counted_gl_sync.h b/shared/ref_counted_gl_sync.h index 5604e9e..e613942 100644 --- a/shared/ref_counted_gl_sync.h +++ b/shared/ref_counted_gl_sync.h @@ -27,12 +27,6 @@ private: return glFenceSync(condition, flags); } - static void locked_glDeleteSync(GLsync sync) - { - std::lock_guard lock(fence_lock); - glDeleteSync(sync); - } - static std::mutex fence_lock; };