Fix screen tearing
This commit is contained in:
parent
a4b37d49e9
commit
67183ae71b
1
cong.c
1
cong.c
|
@ -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()) {
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue