summaryrefslogtreecommitdiffstats
path: root/opengl.h
diff options
context:
space:
mode:
Diffstat (limited to 'opengl.h')
-rw-r--r--opengl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/opengl.h b/opengl.h
index 564b7e20a..8628e36d3 100644
--- a/opengl.h
+++ b/opengl.h
@@ -59,6 +59,8 @@ glx_check_err_(session_t *ps, const char *func, int line) {
}
#define glx_check_err(ps) glx_check_err_(ps, __func__, __LINE__)
+#else
+#define glx_check_err(ps) ((void) 0)
#endif
/**