Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(168)

Unified Diff: client/deps/glbench/src/utils.h

Issue 2122020: Fixes for GLES systems. (Closed) Base URL: ssh://git@chromiumos-git//autotest.git
Patch Set: ...and removed bogus #-I from Makefile Created 10 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « client/deps/glbench/src/textureupdatetest.cc ('k') | client/deps/glbench/src/varyingsandddxytest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « client/deps/glbench/src/textureupdatetest.cc ('k') | client/deps/glbench/src/varyingsandddxytest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698