Commit 674f112b authored by Max Kobelt's avatar Max Kobelt
Browse files

Enable V-Sync

Fixes some weird graphical glitches in windowed mode for me
parent 56d8abab
......@@ -10,6 +10,7 @@
const int GAME_SCREEN_WIDTH = 400, GAME_SCREEN_HEIGHT = 400, FRAME_RATE = 60;
int main() {
SetConfigFlags(FLAG_VSYNC_HINT);
InitWindow(GetScreenWidth(), GetScreenHeight(), "Space Intruders");
#ifdef NDEBUG
ToggleFullscreen();
......
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