Add OpenGL3 support to the autotests

This commit is contained in:
numzero 2023-03-13 18:38:47 +03:00
parent ea0ca7f917
commit d84dc18e13
1 changed files with 2 additions and 0 deletions

View File

@ -20,6 +20,8 @@ static video::E_DRIVER_TYPE chooseDriver(core::stringc arg_)
return video::EDT_OGLES2;
if (arg_ == "opengl")
return video::EDT_OPENGL;
if (arg_ == "opengl3")
return video::EDT_OPENGL3;
std::cerr << "Unknown driver type: " << arg_.c_str() << ". Trying OpenGL." << std::endl;
return video::EDT_OPENGL;
}