summaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'common.h')
-rw-r--r--common.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/common.h b/common.h
index 0aa4f18b8..3be2665db 100644
--- a/common.h
+++ b/common.h
@@ -127,8 +127,9 @@
#include <dbus/dbus.h>
#endif
-// libGL
#ifdef CONFIG_VSYNC_OPENGL
+
+// libGL
#if defined(CONFIG_VSYNC_OPENGL_GLSL) || defined(CONFIG_VSYNC_OPENGL_FBO)
#define GL_GLEXT_PROTOTYPES
#endif
@@ -145,6 +146,8 @@
#define GLX_BACK_BUFFER_AGE_EXT 0x20F4
#endif
+#endif
+
// === Macros ===
#define MSTR_(s) #s
@@ -2485,8 +2488,6 @@ c2_matchd(session_t *ps, win *w, const c2_lptr_t *condlst,
///@}
-#endif
-
/**
* @brief Dump the given data to a file.
*/