mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Allow escape to close the demos project's launcher
This commit is contained in:
@@ -57,6 +57,11 @@ static LRESULT CALLBACK NuklearWndProc(HWND wnd, UINT msg, WPARAM wparam, LPARAM
|
||||
PostQuitMessage(0);
|
||||
return 0;
|
||||
}
|
||||
if(msg == WM_KEYDOWN && wparam == VK_ESCAPE)
|
||||
{
|
||||
PostQuitMessage(0);
|
||||
return 0;
|
||||
}
|
||||
|
||||
if(nk_gdi_handle_event(wnd, msg, wparam, lparam))
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user