Fix screen tearing

This commit is contained in:
Hri7566 2024-01-25 04:21:13 -05:00
parent a4b37d49e9
commit 67183ae71b
2 changed files with 1 additions and 0 deletions

1
cong.c
View File

@ -45,6 +45,7 @@ int main(void) {
InitWindow(WIDTH, HEIGHT, "cong"); InitWindow(WIDTH, HEIGHT, "cong");
SetWindowMonitor(0); SetWindowMonitor(0);
SetTargetFPS(60); SetTargetFPS(60);
SetConfigFlags(FLAG_VSYNC_HINT);
while (!WindowShouldClose()) { while (!WindowShouldClose()) {
/** /**

BIN
cong.exe Executable file

Binary file not shown.