Update to latest ZWidget
This commit is contained in:
parent
640a2b2c41
commit
92b08a5c18
78 changed files with 7123 additions and 1261 deletions
|
|
@ -3901,6 +3901,15 @@ int D_DoomMain_Game()
|
|||
|
||||
int GameMain()
|
||||
{
|
||||
// On Windows, prefer the native win32 backend.
|
||||
// On other platforms, use SDL until the other backends are more mature.
|
||||
auto zwidget = DisplayBackend::TryCreateWin32();
|
||||
if (!zwidget)
|
||||
zwidget = DisplayBackend::TryCreateSDL2();
|
||||
if (!zwidget)
|
||||
return -1;
|
||||
DisplayBackend::Set(std::move(zwidget));
|
||||
|
||||
int ret = 0;
|
||||
GameTicRate = TICRATE;
|
||||
I_InitTime();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue