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

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

Issue 2031007: Do not ask user to press Fail button if pixmap to texture test fails because GLX is older than 1.3. (Closed) Base URL: ssh://git@chromiumos-git//autotest.git
Patch Set: 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.cc ('k') | client/site_tests/graphics_TearTest/graphics_TearTest.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/deps/glbench/src/teartest_glx.cc
diff --git a/client/deps/glbench/src/teartest_glx.cc b/client/deps/glbench/src/teartest_glx.cc
index 27f576795474c7b2599d74652d7ea8d8f67b5ccd..86917f2e19534e0bb120457e2c42f4c8fe51d0ba 100644
--- a/client/deps/glbench/src/teartest_glx.cc
+++ b/client/deps/glbench/src/teartest_glx.cc
@@ -43,8 +43,10 @@ bool PixmapToTextureTest::InitNative() {
if (!glXQueryVersion(g_xlib_display, &major, &minor))
return false;
- if (major < 1 || (major == 1 && minor < 3))
+ if (major < 1 || (major == 1 && minor < 3)) {
+ printf("# GLX 1.3 required for pixmap to texture extension.\n");
return false;
+ }
if (!glXBindTexImageEXT)
return false;
« no previous file with comments | « client/deps/glbench/src/teartest.cc ('k') | client/site_tests/graphics_TearTest/graphics_TearTest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698