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

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

Issue 1732030: Replaced funky state machines with classes. This is in preparation of doing the same to gl_Bench. (Closed) Base URL: ssh://git@chromiumos-git//autotest.git
Patch Set: Got rid of static test list initialization, fixed USE_EGL. Created 10 years, 8 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/teartest_glx.cc ('k') | client/deps/glbench/src/utils.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 3bc8b2de80f4dac145906580098dcd5424934415..44d11823725b3d6003a5e94f5ea36dde2f80219a 100644
--- a/client/deps/glbench/src/utils.h
+++ b/client/deps/glbench/src/utils.h
@@ -5,7 +5,11 @@
#ifndef BENCH_GL_UTILS_H_
#define BENCH_GL_UTILS_H_
+#ifdef USE_EGL
+#include "GLES2/gl2.h"
+#else
#include "GL/gl.h"
+#endif
void SetBasePathFromArgv0(const char* argv0, const char* relative);
« no previous file with comments | « client/deps/glbench/src/teartest_glx.cc ('k') | client/deps/glbench/src/utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698