Remove VSync setting from SDL window surface initialization
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user