summaryrefslogtreecommitdiff
path: root/src/render/OpenGL.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/OpenGL.hpp')
-rw-r--r--src/render/OpenGL.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/render/OpenGL.hpp b/src/render/OpenGL.hpp
index 1e8325c1..f405cb7c 100644
--- a/src/render/OpenGL.hpp
+++ b/src/render/OpenGL.hpp
@@ -131,12 +131,14 @@ class CEGLSync {
EGLSyncKHR sync = nullptr;
- int dupFenceFD();
+ int fd();
bool wait();
private:
CEGLSync() = default;
+ int m_iFd = -1;
+
friend class CHyprOpenGLImpl;
};