Skip to content

Fix crash when minimising Unreal engine games. - #77

Open
mmdanggg2 wants to merge 1 commit into
NVIDIAGameWorks:mainfrom
mmdanggg2:Unreal_minimize_crash_fix
Open

Fix crash when minimising Unreal engine games.#77
mmdanggg2 wants to merge 1 commit into
NVIDIAGameWorks:mainfrom
mmdanggg2:Unreal_minimize_crash_fix

Conversation

@mmdanggg2

Copy link
Copy Markdown
Contributor

When in fullscreen and minimising in UT it recreates the d3d9 device and this happens during the window proc and calling ShowWindow appears to trigger that. The D3D9SwapChainEx object windowData was pointing to becomes invalid and causes a crash. My solution here is just to grab it again as at the start of this function. Not sure if there's a better way you might want to fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant