Commit 09509a4d authored by Max Kobelt's avatar Max Kobelt
Browse files

Don't go into fullscreen for debug builds

Makes it easier to switch windows for debugging purposes
parent c328e8cc
......@@ -11,7 +11,9 @@ const int GAME_SCREEN_WIDTH = 400, GAME_SCREEN_HEIGHT = 400, FRAME_RATE = 60;
int main() {
InitWindow(GetScreenWidth(), GetScreenHeight(), "Space Intruders");
#ifdef NDEBUG
ToggleFullscreen();
#endif // SI_DEBUG
HideCursor();
SetTargetFPS(FRAME_RATE);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment