Remove VSync setting from SDL window surface initialization

This commit is contained in:
moonpower
2026-03-13 14:22:06 +01:00
parent 5ae4be2b5f
commit 6575c02cac
-2
View File
@@ -33,8 +33,6 @@ int main(int, char**)
return 1; return 1;
} }
SDL_SetWindowSurfaceVSync(window, 1);
int framebuffer_w = window_surface->w; int framebuffer_w = window_surface->w;
int framebuffer_h = window_surface->h; int framebuffer_h = window_surface->h;
SDL_Surface* framebuffer = SDL_CreateSurface(framebuffer_w, framebuffer_h, SDL_PIXELFORMAT_RGBA32); SDL_Surface* framebuffer = SDL_CreateSurface(framebuffer_w, framebuffer_h, SDL_PIXELFORMAT_RGBA32);