Is this the most effect simple way to display a moving image? SDL2
- by user36324
I've looked around for tutorials on SDL2, but there isnt many so I am curious i was messing around and is this an effective way to move an image. One problem is that it drags along the image to where it moves.
#include "SDL.h"
#include "SDL_image.h"
int main(int argc, char* argv[])
{
bool exit = false;
SDL_Init(SDL_INIT_EVERYTHING);
…