Skip to content

Commit

Permalink
xrEngine: fix crash on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
eagleivg committed Aug 29, 2018
1 parent 7c54c5d commit 3537efd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/xrEngine/EngineAPI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ void CEngineAPI::SetupCurrentRenderer()
}
}

#if defined(WINDOWS)
if (psDeviceFlags.test(rsR4))
{
if (hRenderR4->IsLoaded())
Expand Down Expand Up @@ -109,6 +110,7 @@ void CEngineAPI::SetupCurrentRenderer()
psDeviceFlags.set(rsR1, true);
}
}
#endif

if (psDeviceFlags.test(rsR1))
{
Expand Down

0 comments on commit 3537efd

Please sign in to comment.