aboutsummaryrefslogtreecommitdiff
path: root/PhysX_3.4/Samples/SampleFramework
diff options
context:
space:
mode:
authorSheikh Dawood Abdul Ajees <[email protected]>2017-11-20 14:41:07 -0600
committerSheikh Dawood Abdul Ajees <[email protected]>2017-11-20 15:22:41 -0600
commit4bda45ce4e8b509eb0da786a6044006942ac259c (patch)
treea51eb808016e1710a4bbd537000a493250602944 /PhysX_3.4/Samples/SampleFramework
parentUpdate README.md (diff)
parentPhysX 3.4.1, APEX 1.4.1 Release @23131702 (diff)
downloadphysx-3.4-4bda45ce4e8b509eb0da786a6044006942ac259c.tar.xz
physx-3.4-4bda45ce4e8b509eb0da786a6044006942ac259c.zip
Merge branch 'master'
Diffstat (limited to 'PhysX_3.4/Samples/SampleFramework')
-rw-r--r--PhysX_3.4/Samples/SampleFramework/platform/src/windows/WindowsSamplePlatform.cpp4
1 files changed, 2 insertions, 2 deletions
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;
}
}