tests: Add -use-BIL option
diff --git a/tests/xgltestframework.cpp b/tests/xgltestframework.cpp
index a324d0a..9b79396 100644
--- a/tests/xgltestframework.cpp
+++ b/tests/xgltestframework.cpp
@@ -101,6 +101,7 @@
// Define all the static elements
bool XglTestFramework::m_show_images = false;
bool XglTestFramework::m_save_images = false;
+bool XglTestFramework::m_use_bil = false;
int XglTestFramework::m_width = 0;
int XglTestFramework::m_height = 0;
int XglTestFramework::m_window = 0;
@@ -123,6 +124,11 @@
continue;
}
+ if (strncmp("--use-BIL", argv[i], 13) == 0) {
+ m_use_bil = true;
+ continue;
+ }
+
/*
* Since the above "consume" inputs, update argv
* so that it contains the trimmed list of args for glutInit