1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-18 20:52:10 +01:00

[d3d9] Handle WM_DESTROY event

This commit is contained in:
Joshua Ashton 2020-04-06 20:16:17 +01:00
parent 18b46e5c22
commit 46329689ba

View File

@ -94,6 +94,9 @@ namespace dxvk {
DefWindowProcW, DefWindowProcA, unicode,
window, message, wparam, lparam);
if (message == WM_DESTROY)
ResetWindowProc(window);
return CallCharsetFunction(
CallWindowProcW, CallWindowProcA, unicode,
windowData.proc, window, message, wparam, lparam);