src/render/psp/SDL_render_psp.c
changeset 11229 436b07ff41b4
parent 10737 3406a0f8b041
child 11811 5d94cb6b24d3
     1.1 --- a/src/render/psp/SDL_render_psp.c	Fri Aug 11 19:42:39 2017 -0700
     1.2 +++ b/src/render/psp/SDL_render_psp.c	Fri Aug 11 20:54:06 2017 -0700
     1.3 @@ -949,11 +949,11 @@
     1.4      vertices[3].y = y + sw - ch;
     1.5      vertices[3].z = 0;
     1.6  
     1.7 -    if (flip & SDL_FLIP_HORIZONTAL) {
     1.8 +    if (flip & SDL_FLIP_VERTICAL) {
     1.9                  Swap(&vertices[0].v, &vertices[2].v);
    1.10                  Swap(&vertices[1].v, &vertices[3].v);
    1.11      }
    1.12 -    if (flip & SDL_FLIP_VERTICAL) {
    1.13 +    if (flip & SDL_FLIP_HORIZONTAL) {
    1.14                  Swap(&vertices[0].u, &vertices[2].u);
    1.15                  Swap(&vertices[1].u, &vertices[3].u);
    1.16      }