Refs #358. Converted tabs to spaces and removed extra whitepace.

This commit is contained in:
Ignacio Lillo 2015-06-08 21:36:28 -03:00
parent acac924edc
commit f816a43f6b

View File

@ -1615,7 +1615,7 @@ int main(int argc, char ** argv) {
bool disable_glew_experimental = false;
bool disable_glew_experimental = false;
for (int i = 1; i < argc; ++i) {
if (strstr(argv[i], ".obj")) {
@ -1632,14 +1632,11 @@ int main(int argc, char ** argv) {
}
else if (!strcmp(argv[i], "-f")) {
fullscreen = true;
}
else if (strcmp(argv[i], "-x") == 0){
//disable it at runtime for certain buggy drivers
disable_glew_experimental = true;
}
}
else if (strcmp(argv[i], "-x") == 0){
//disable it at runtime for certain buggy drivers
disable_glew_experimental = true;
}
else {
std::ifstream ifs(argv[1]);
if (ifs) {
@ -1720,8 +1717,8 @@ int main(int argc, char ** argv) {
#if defined(OSD_USES_GLEW)
#ifdef CORE_PROFILE
// this is the only way to initialize glew correctly under core profile context.
if (!disable_glew_experimental)
glewExperimental = true;
if (!disable_glew_experimental)
glewExperimental = true;
#endif
#endif