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

Unified Diff: client/deps/glbench/src/teartest.cc

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/teartest.h ('k') | client/deps/glbench/src/testbase.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/deps/glbench/src/teartest.cc
diff --git a/client/deps/glbench/src/teartest.cc b/client/deps/glbench/src/teartest.cc
index a8c526e200eee1d0d3be4c3a676f96720f58355a..d5aa3633fa970226d53c08704ea93041cea62e51 100644
--- a/client/deps/glbench/src/teartest.cc
+++ b/client/deps/glbench/src/teartest.cc
@@ -204,9 +204,9 @@ int main(int argc, char* argv[]) {
Test* uniform_test = GetUniformTest(glGetUniformLocation(program, "shift"));
test_map["uniform"] = uniform_test;
test_map["teximage2d"] = GetTexImage2DTest();
-#ifdef USE_EGL
+#if defined(USE_OPENGLES)
test_map["pixmap_to_texture"] = GetPixmapToTextureTestEGL();
-#else
+#elif defined(USE_OPENGL)
test_map["pixmap_to_texture"] = GetPixmapToTextureTest();
#endif
« no previous file with comments | « client/deps/glbench/src/teartest.h ('k') | client/deps/glbench/src/testbase.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698