Index: client/deps/glbench/src/utils.h |
diff --git a/client/deps/glbench/src/utils.h b/client/deps/glbench/src/utils.h |
index 117454c5063c208c987e03e655519ece504d7b31..20fce9244f61b45f8a322f06ae6cd5cf5c4e32d2 100644 |
--- a/client/deps/glbench/src/utils.h |
+++ b/client/deps/glbench/src/utils.h |
@@ -5,9 +5,9 @@ |
#ifndef BENCH_GL_UTILS_H_ |
#define BENCH_GL_UTILS_H_ |
-#ifdef USE_EGL |
+#if defined(USE_OPENGLES) |
#include "GLES2/gl2.h" |
-#else |
+#elif defined(USE_OPENGL) |
#include "GL/gl.h" |
#endif |
@@ -25,8 +25,6 @@ int CreateMesh(GLuint **indices, GLsizeiptr *size, |
int width, int height, int culled_ratio); |
GLuint InitShaderProgram(const char *vertex_src, const char *fragment_src); |
-#define I915_WORKAROUND 1 |
- |
} // namespace glbench |
#endif // BENCH_GL_UTILS_H_ |