Преглед изворни кода

Init CORE.Window.focused

pull/1233/head
raysan5 пре 5 година
родитељ
комит
ac8f436c3b
1 измењених фајлова са 2 додато и 0 уклоњено
  1. +2
    -0
      src/core.c

+ 2
- 0
src/core.c Прегледај датотеку

@ -681,7 +681,9 @@ void InitWindow(int width, int height, const char *title)
// Init graphics device (display device and OpenGL context) // Init graphics device (display device and OpenGL context)
// NOTE: returns true if window and graphic device has been initialized successfully // NOTE: returns true if window and graphic device has been initialized successfully
CORE.Window.ready = InitGraphicsDevice(width, height); CORE.Window.ready = InitGraphicsDevice(width, height);
if (!CORE.Window.ready) return; if (!CORE.Window.ready) return;
else CORE.Window.focused = true;
// Init hi-res timer // Init hi-res timer
InitTimer(); InitTimer();

Loading…
Откажи
Сачувај