Skip to content

Commit

Permalink
Fix crash after Device.Reset
Browse files Browse the repository at this point in the history
  • Loading branch information
Xottab-DUTY committed Apr 2, 2019
1 parent 3f731f4 commit 99fe09f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cs/engine/layers/xrRender/DetailManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,7 @@ void __stdcall CDetailManager::MT_CALC ()
{
#ifndef _EDITOR
if (0==RImplementation.Details) return; // possibly deleted
if (this != RImplementation.Details) return;
if (0==dtFS) return;
if (!psDeviceFlags.is(rsDetails)) return;
#endif
Expand Down

0 comments on commit 99fe09f

Please sign in to comment.