fix empty window on direct3d

This commit is contained in:
MelonSpeedruns 2022-05-29 15:40:57 -04:00
commit 05d495c053

View file

@ -281,8 +281,10 @@ static LRESULT CALLBACK gfx_dxgi_wnd_proc(HWND h_wnd, UINT message, WPARAM w_par
else {
return DefWindowProcW(h_wnd, message, w_param, l_param);
}
return 0;
default:
return DefWindowProcW(h_wnd, message, w_param, l_param);
}
return 0;
}
void gfx_dxgi_init(const char* game_name, bool start_in_fullscreen) {