testframework: Enable BIL as default

Also added --no-BIL option to use built-in GLSL compiler.
This commit is contained in:
Courtney Goeltzenleuchter 2014-10-31 14:13:33 -06:00
parent 5fd1ffd2e5
commit e692368974

View File

@ -101,7 +101,7 @@ XglTestFramework::~XglTestFramework()
// Define all the static elements
bool XglTestFramework::m_show_images = false;
bool XglTestFramework::m_save_images = false;
bool XglTestFramework::m_use_bil = false;
bool XglTestFramework::m_use_bil = true;
int XglTestFramework::m_width = 0;
int XglTestFramework::m_height = 0;
int XglTestFramework::m_window = 0;
@ -129,6 +129,11 @@ void XglTestFramework::InitArgs(int *argc, char *argv[])
continue;
}
if (strncmp("--no-BIL", argv[i], 13) == 0) {
m_use_bil = false;
continue;
}
/*
* Since the above "consume" inputs, update argv
* so that it contains the trimmed list of args for glutInit