diff options
Diffstat (limited to 'BuddhaTest/src/Helpers.cpp')
-rw-r--r-- | BuddhaTest/src/Helpers.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/BuddhaTest/src/Helpers.cpp b/BuddhaTest/src/Helpers.cpp index b092dc2..abe09fd 100644 --- a/BuddhaTest/src/Helpers.cpp +++ b/BuddhaTest/src/Helpers.cpp @@ -174,7 +174,7 @@ namespace Helpers }
for(int i = 0; i < height/2;++i)
{
- for(int j = 0; j < width;++j)
+ for(int j = 0; j < width*3;++j)
{
png_byte average = (rows[i][j] + rows[height-i-1][j])/2;
rows[i][j] = rows[height-i-1][j] = average;
|