src/render/SDL_render.c
changeset 7073 873715d91f83
parent 7037 3fedf1f25b94
child 7109 003d40e446f5
child 8464 a2a909304cfe
     1.1 --- a/src/render/SDL_render.c	Wed Apr 17 01:38:59 2013 -0700
     1.2 +++ b/src/render/SDL_render.c	Wed Apr 17 07:35:30 2013 -0700
     1.3 @@ -1297,10 +1297,10 @@
     1.4              frect->h = renderer->scale.y;
     1.5          } else {
     1.6              /* FIXME: We can't use a rect for this line... */
     1.7 -            frects[0].x = points[i].x * renderer->scale.x;
     1.8 -            frects[0].y = points[i].y * renderer->scale.y;
     1.9 -            frects[1].x = points[i+1].x * renderer->scale.x;
    1.10 -            frects[1].y = points[i+1].y * renderer->scale.y;
    1.11 +            fpoints[0].x = points[i].x * renderer->scale.x;
    1.12 +            fpoints[0].y = points[i].y * renderer->scale.y;
    1.13 +            fpoints[1].x = points[i+1].x * renderer->scale.x;
    1.14 +            fpoints[1].y = points[i+1].y * renderer->scale.y;
    1.15              status += renderer->RenderDrawLines(renderer, fpoints, 2);
    1.16          }
    1.17      }