src/render/SDL_render.c
changeset 8464 a2a909304cfe
parent 8460 f483e8bdae3c
parent 7073 873715d91f83
child 8477 ad08f0d710f3
     1.1 --- a/src/render/SDL_render.c	Tue Apr 16 23:40:03 2013 -0400
     1.2 +++ b/src/render/SDL_render.c	Sun Apr 21 12:38:44 2013 -0400
     1.3 @@ -1304,10 +1304,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      }