enable VBO support for Intel graphic drivers if UseVBO is activated

This commit is contained in:
wmayer
2018-09-03 16:57:33 +02:00
parent b761262dc3
commit f2ec0eaca3

View File

@@ -312,7 +312,7 @@ Application::Application(bool GUIenabled)
// so we can try to override the workaround by setting COIN_VBO
ParameterGrp::handle hViewGrp = App::GetApplication().GetParameterGroupByPath("User parameter:BaseApp/Preferences/View");
if (hViewGrp->GetBool("UseVBO",false)) {
(void)coin_setenv("COIN_VBO", "1", true);
(void)coin_setenv("COIN_VBO", "0", true);
}
// Check for the symbols for group separator and deciaml point. They must be different otherwise