1
0
mirror of https://github.com/blupi-games/planetblupi synced 2024-12-30 10:15:36 +01:00
This commit is contained in:
Mathieu Schroeter 2017-02-02 18:02:05 +01:00
parent 8c111b9557
commit e7e1b4cc15

View File

@ -766,10 +766,8 @@ int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance,
{
MSG msg;
if ( !DoInit(hInstance, lpCmdLine, nCmdShow) )
{
if (!DoInit(hInstance, lpCmdLine, nCmdShow))
return false;
}
SDL_TimerID updateTimer = SDL_AddTimer (g_timerInterval, [] (Uint32 interval, void *param) -> Uint32
{
@ -799,10 +797,7 @@ int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance,
SDL_Event event;
while (SDL_PollEvent (&event))
{
WindowProc2 (nullptr, 0, 0, 0, &event);
}
}
out: