From 3cc1861221d761b7f0301b9b61de4e1aa18c09f4 Mon Sep 17 00:00:00 2001 From: Sheikh Dawood Abdul Ajees Date: Mon, 20 Nov 2017 11:35:52 -0600 Subject: PhysX 3.4.1, APEX 1.4.1 Release @23131702 --- .../SampleFramework/platform/src/windows/WindowsSamplePlatform.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'PhysX_3.4/Samples/SampleFramework/platform/src') diff --git a/PhysX_3.4/Samples/SampleFramework/platform/src/windows/WindowsSamplePlatform.cpp b/PhysX_3.4/Samples/SampleFramework/platform/src/windows/WindowsSamplePlatform.cpp index 8beb4aee..96897e0c 100644 --- a/PhysX_3.4/Samples/SampleFramework/platform/src/windows/WindowsSamplePlatform.cpp +++ b/PhysX_3.4/Samples/SampleFramework/platform/src/windows/WindowsSamplePlatform.cpp @@ -193,7 +193,7 @@ static INT_PTR CALLBACK windowProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lP case WM_CLOSE: if(window) { - window->close(); + ((WindowsPlatform*)window->getPlatform())->getWindowsSampleUserInput().onKeyDown(VK_ESCAPE, 65537); } break; @@ -250,7 +250,7 @@ static INT_PTR CALLBACK windowProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lP { if(window) { - window->close(); + ((WindowsPlatform*)window->getPlatform())->getWindowsSampleUserInput().onKeyDown(VK_ESCAPE, 65537); break; } } -- cgit v1.2.3