summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b356303)
raw | patch | inline | side by side (parent: b356303)
author | jaspervdg <jaspervdg@users.sourceforge.net> | |
Wed, 8 Apr 2009 11:50:31 +0000 (11:50 +0000) | ||
committer | jaspervdg <jaspervdg@users.sourceforge.net> | |
Wed, 8 Apr 2009 11:50:31 +0000 (11:50 +0000) |
src/display/nr-filter-displacement-map.cpp | patch | blob | history |
diff --git a/src/display/nr-filter-displacement-map.cpp b/src/display/nr-filter-displacement-map.cpp
index 4cd0f5160f16e69d765d2c678054273445078267..869a184ac082bcee257071ee7033d2472499e437 100644 (file)
@@ -124,8 +124,8 @@ static void performDisplacement(NRPixBlock const* texture, NRPixBlock const* map
if (!Xneedsdemul) scalex /= 255.0;
if (!Yneedsdemul) scaley /= 255.0;
- for (int xout=out->area.x0; xout < out->area.x1; xout++){
- for (int yout=out->area.y0; yout < out->area.y1; yout++){
+ for (int yout=out->area.y0; yout < out->area.y1; yout++){
+ for (int xout=out->area.x0; xout < out->area.x1; xout++){
int xmap = xout;
int ymap = yout;