summaryrefslogtreecommitdiff
path: root/common/headless_view.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/headless_view.hpp')
-rw-r--r--common/headless_view.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/headless_view.hpp b/common/headless_view.hpp
index a203d477e0..b3e1c11b9b 100644
--- a/common/headless_view.hpp
+++ b/common/headless_view.hpp
@@ -29,14 +29,14 @@ private:
private:
-#ifdef LLMR_USE_CGL
+#if LLMR_USE_CGL
CGLContextObj gl_context;
GLuint fbo = 0;
GLuint fbo_depth_stencil = 0;
GLuint fbo_color = 0;
#endif
-#ifdef LLMR_USE_GLX
+#if LLMR_USE_GLX
GLXContext gl_context = nullptr;
XVisualInfo *x_info = nullptr;
Display *x_display = nullptr;