evas/line - Fixed simple line drawing on s/w backened. Unmatched loop scope caused...
authorhermet <hermet@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 12 Jun 2012 02:52:51 +0000 (02:52 +0000)
committerhermet <hermet@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 12 Jun 2012 02:52:51 +0000 (02:52 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@71977 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

ChangeLog
src/lib/engines/common/evas_line_main.c

index b13c5b2..c28514e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
 2012-06-10  Cedric Bail
 
        * Limit the updated region to fit in CPU cache for Pipe rendering.
+
+2012-06-12  ChunEon Park
+
+       * Fixed simple line drawing on s/w backened. Unmatched loop scope caused the
+       destination buffer pointer march in place.
index 469f396..fc1385f 100644 (file)
@@ -361,14 +361,14 @@ _evas_draw_simple_line(RGBA_Image *dst, RGBA_Draw_Context *dc, int x0, int y0, i
 # endif
 #endif
                pfunc(0, 255, color, p);
-          }
 #ifdef HAVE_PIXMAN
 # ifdef PIXMAN_LINE             
-        pixman_x_position += x_unit;
-        pixman_y_position += 1;
+             pixman_x_position += x_unit;
+             pixman_y_position += 1;
 # endif
 #endif
-        p += dstw;
+             p += dstw;
+          }
      }
 }