test/controllermap.c
changeset 10359 3806fd310e5b
parent 9998 f67cf37e9cd4
child 10526 db8472cf0223
     1.1 --- a/test/controllermap.c	Wed Sep 21 23:06:26 2016 +0200
     1.2 +++ b/test/controllermap.c	Wed Sep 21 23:06:38 2016 +0200
     1.3 @@ -47,7 +47,7 @@
     1.4  
     1.5  
     1.6  SDL_Texture *
     1.7 -LoadTexture(SDL_Renderer *renderer, char *file, SDL_bool transparent)
     1.8 +LoadTexture(SDL_Renderer *renderer, const char *file, SDL_bool transparent)
     1.9  {
    1.10      SDL_Surface *temp;
    1.11      SDL_Texture *texture;
    1.12 @@ -226,7 +226,7 @@
    1.13              SDL_RenderCopy(screen, background, NULL, NULL);
    1.14              SDL_SetTextureAlphaMod(marker, alpha);
    1.15              SDL_SetTextureColorMod(marker, 10, 255, 21);
    1.16 -            SDL_RenderCopyEx(screen, marker, NULL, &dst, step->angle, NULL, 0);
    1.17 +            SDL_RenderCopyEx(screen, marker, NULL, &dst, step->angle, NULL, SDL_FLIP_NONE);
    1.18              SDL_RenderPresent(screen);
    1.19              
    1.20              if (SDL_PollEvent(&event)) {