I\'ve written a program using C++ and SDL2 which:
Try adding SDL_RENDERER_PRESENTVSYNC
to your renderer's flag (Proposed by someone here).
C++ seems to be the programming language you're using but for those looking for a fully working SDL2.0.8-based C program that does not use GetWindowSurface()
, please take a look here:
Mainly,