Index: client/deps/glbench/src/main.h |
diff --git a/client/deps/glbench/src/main.h b/client/deps/glbench/src/main.h |
index eb8e1508d5ec38ba9f4885a660c148ef3289105b..a98efd3b377262dfe0ce867839f36c723fcf1928 100644 |
--- a/client/deps/glbench/src/main.h |
+++ b/client/deps/glbench/src/main.h |
@@ -8,10 +8,10 @@ |
#include <gflags/gflags.h> |
#include <sys/time.h> |
-#ifdef USE_EGL |
+#if defined(USE_OPENGLES) |
#include <GLES2/gl2.h> |
#include <EGL/egl.h> |
-#else |
+#elif defined(USE_OPENGL) |
#include <GL/gl.h> |
#include <GL/glx.h> |
@@ -47,6 +47,8 @@ |
LIST_PROC_FUNCTIONS(F) |
#undef F |
+#else |
+#error bad graphics backend |
#endif |
inline uint64_t GetUTime() { |