Index: client/deps/glbench/src/main.cc |
diff --git a/client/deps/glbench/src/main.cc b/client/deps/glbench/src/main.cc |
index 53d33a6c16f98d03309fdf85085c85f853df297a..b579bf707b53e69bb2d7fe36a85ebb3d9d937b6e 100644 |
--- a/client/deps/glbench/src/main.cc |
+++ b/client/deps/glbench/src/main.cc |
@@ -21,7 +21,6 @@ using std::vector; |
DEFINE_int32(duration, 0, "run tests in a loop for at least this many seconds"); |
DEFINE_string(tests, "", "colon-separated list of tests to run; " |
"all tests if omitted"); |
-DEFINE_bool(get_board_id, false, "return the board id for checksums"); |
bool test_is_enabled(glbench::TestBase* test, |
@@ -49,12 +48,10 @@ int main(int argc, char *argv[]) { |
return 1; |
} |
- if (FLAGS_get_board_id) { |
- InitContext(); |
- printf("%s / %s\n", glGetString(GL_VENDOR), glGetString(GL_RENDERER)); |
- DestroyContext(); |
- return 0; |
- } |
+ InitContext(); |
+ printf("# board_id: %s / %s\n", |
+ glGetString(GL_VENDOR), glGetString(GL_RENDERER)); |
+ DestroyContext(); |
vector<string> enabled_tests; |
SplitString(FLAGS_tests, ':', &enabled_tests); |