mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-10-29 23:36:02 +03:00
feat(console): in the presence of -opengl launch flag, change GxApi to OpenGl
This commit is contained in:
parent
dd52d00736
commit
827c86b194
@ -198,6 +198,10 @@ void ConsoleDeviceInitialize(const char* title) {
|
||||
EGxApi api = GxApi_OpenGl;
|
||||
#if defined(WHOA_SYSTEM_WIN)
|
||||
api = GxApi_D3d9;
|
||||
|
||||
if (CmdLineGetBool(CMD_OPENGL)) {
|
||||
api = GxApi_OpenGl;
|
||||
}
|
||||
#elif defined(WHOA_SYSTEM_MAC)
|
||||
api = GxApi_GLL;
|
||||
#endif
|
||||
|
||||
Loading…
Reference in New Issue
Block a user