mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-10 11:22:47 +00:00
(D3D) TODO - quick hack to get D3D driver to at least work for games -
WM_DESTROY needs to be properly reimplemented
This commit is contained in:
parent
6752687f16
commit
ba4116e313
@ -86,7 +86,11 @@ LRESULT CALLBACK WindowProc(HWND hWnd, UINT message,
|
|||||||
return win32_handle_keyboard_event(hWnd, message, wParam, lParam);
|
return win32_handle_keyboard_event(hWnd, message, wParam, lParam);
|
||||||
|
|
||||||
case WM_DESTROY:
|
case WM_DESTROY:
|
||||||
d3d_quit = true;
|
//TODO - We can't set d3d_quit to true here since WM_DESTROY might be invoked
|
||||||
|
//on tear-down/setup, and we would exit straight away immediately
|
||||||
|
//
|
||||||
|
//Right now, quit button of window is broken because of this.
|
||||||
|
//d3d_quit = true;
|
||||||
return 0;
|
return 0;
|
||||||
case WM_SIZE:
|
case WM_SIZE:
|
||||||
unsigned new_width, new_height;
|
unsigned new_width, new_height;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user