summaryrefslogtreecommitdiff
path: root/src/render
diff options
context:
space:
mode:
Diffstat (limited to 'src/render')
-rw-r--r--src/render/OpenGL.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/render/OpenGL.hpp b/src/render/OpenGL.hpp
index c5040e0e..bd57e079 100644
--- a/src/render/OpenGL.hpp
+++ b/src/render/OpenGL.hpp
@@ -304,13 +304,15 @@ class CHyprOpenGLImpl {
SP<CTexture> m_screencopyDeniedTexture;
- private:
enum eEGLContextVersion : uint8_t {
EGL_CONTEXT_GLES_2_0 = 0,
EGL_CONTEXT_GLES_3_0,
EGL_CONTEXT_GLES_3_2,
};
+ eEGLContextVersion m_eglContextVersion = EGL_CONTEXT_GLES_3_2;
+
+ private:
struct {
GLint x = 0;
GLint y = 0;
@@ -320,8 +322,6 @@ class CHyprOpenGLImpl {
std::unordered_map<int, bool> m_capStatus;
- eEGLContextVersion m_eglContextVersion = EGL_CONTEXT_GLES_3_2;
-
std::vector<SDRMFormat> m_drmFormats;
bool m_hasModifiers = false;