mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Merge pull request #922 from heuripedes/master
(D3D) Reset d3d_quit during context initialization
This commit is contained in:
commit
e57abc1c14
@ -103,7 +103,6 @@ LRESULT CALLBACK WindowProc(HWND hWnd, UINT message,
|
||||
|
||||
static void gfx_ctx_d3d_swap_buffers(void *data)
|
||||
{
|
||||
(void)data;
|
||||
d3d_video_t *d3d = (d3d_video_t*)data;
|
||||
LPDIRECT3DDEVICE d3dr = (LPDIRECT3DDEVICE)d3d->dev;
|
||||
|
||||
@ -308,6 +307,7 @@ static bool gfx_ctx_d3d_bind_api(void *data, enum gfx_ctx_api api, unsigned majo
|
||||
static bool gfx_ctx_d3d_init(void *data)
|
||||
{
|
||||
(void)data;
|
||||
d3d_quit = false;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user