mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
(D3D) check_window - check if d3d_quit has been set to true, and if so,
set quit pointer value to true
This commit is contained in:
parent
280b9d5406
commit
544df55017
@ -100,9 +100,7 @@ static void d3d_deinitialize(void *data)
|
||||
d3d->needs_restore = false;
|
||||
}
|
||||
|
||||
|
||||
#ifdef HAVE_WINDOW
|
||||
|
||||
extern LRESULT CALLBACK WindowProc(HWND hWnd, UINT message,
|
||||
WPARAM wParam, LPARAM lParam);
|
||||
#endif
|
||||
|
@ -517,6 +517,9 @@ static void gfx_ctx_d3d_check_window(bool *quit,
|
||||
D3DVideo *d3d = reinterpret_cast<D3DVideo*>(driver.video_data);
|
||||
*quit = false;
|
||||
*resize = false;
|
||||
|
||||
if (d3d_quit)
|
||||
*quit = true;
|
||||
#ifndef _XBOX
|
||||
MSG msg;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user