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 |