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