Merge pull request #14 from MelonSpeedruns/melon-randomizer

fixed empty window on direct3d
This commit is contained in:
briaguya 2022-05-29 15:42:20 -04:00 committed by GitHub
commit 2b629d3976
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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) {