#295 add workaround for Win11 steam RA2 crash

This commit is contained in:
FunkyFr3sh 2024-03-11 17:48:27 +01:00
parent f2d1e9e3e6
commit 82571fe8db
6 changed files with 32 additions and 10 deletions

View file

@ -1466,11 +1466,11 @@ HRESULT dd_CreateEx(GUID* lpGuid, LPVOID* lplpDD, REFIID iid, IUnknown* pUnkOute
if (_strcmpi(g_config.renderer, "direct3d9on12") == 0)
{
g_ddraw->d3d9on12 = TRUE;
g_config.d3d9on12 = TRUE;
}
else if (_strcmpi(g_config.renderer, "openglcore") == 0)
{
g_ddraw->opengl_core = TRUE;
g_config.opengl_core = TRUE;
}
if (tolower(g_config.renderer[0]) == 'd') /* direct3d9 or direct3d9on12*/