mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-22 10:49:02 +00:00
Create win32_window_reset
This commit is contained in:
parent
ab99c8ff8d
commit
bb99dc4e38
@ -694,6 +694,12 @@ HWND win32_get_window(void)
|
||||
return g_hwnd;
|
||||
}
|
||||
|
||||
void win32_window_reset(void)
|
||||
{
|
||||
g_quit = false;
|
||||
g_restore_desktop = false;
|
||||
}
|
||||
|
||||
void win32_destroy_window(void)
|
||||
{
|
||||
#ifndef _XBOX
|
||||
|
@ -81,6 +81,8 @@ bool win32_has_focus(void);
|
||||
void win32_check_window(bool *quit,
|
||||
bool *resize, unsigned *width, unsigned *height);
|
||||
|
||||
void win32_window_reset(void);
|
||||
|
||||
void win32_destroy_window(void);
|
||||
|
||||
#endif
|
||||
|
@ -313,9 +313,7 @@ static bool gfx_ctx_wgl_init(void *data)
|
||||
if (g_inited)
|
||||
return false;
|
||||
|
||||
g_quit = false;
|
||||
g_restore_desktop = false;
|
||||
|
||||
win32_window_reset();
|
||||
win32_monitor_init();
|
||||
if (!win32_window_init(&wndclass, true))
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user