summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Src/TextureDecoder.cpp
diff options
context:
space:
mode:
authorGlenn Rice <glennricster@gmail.com>2011-03-05 02:32:09 +0000
committerGlenn Rice <glennricster@gmail.com>2011-03-05 02:32:09 +0000
commitb8b81001bd41fccde6380a5a5adf8890a120c0c5 (patch)
treed3f769d0f59ae8095a73c312299903d646054784 /Source/Core/VideoCommon/Src/TextureDecoder.cpp
parent1e367749bd28b9d2d7ea49073a8a11f370882112 (diff)
Linux build fix.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7288 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/VideoCommon/Src/TextureDecoder.cpp')
-rw-r--r--Source/Core/VideoCommon/Src/TextureDecoder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/Src/TextureDecoder.cpp b/Source/Core/VideoCommon/Src/TextureDecoder.cpp
index 99cf31106c..a04ef4ddcf 100644
--- a/Source/Core/VideoCommon/Src/TextureDecoder.cpp
+++ b/Source/Core/VideoCommon/Src/TextureDecoder.cpp
@@ -723,7 +723,7 @@ PC_TexFormat TexDecoder_Decode_real(u8 *dst, const u8 *src, int width, int heigh
#pragma omp parallel for
for (int y = 0; y < height; y += 8)
for (int x = 0, yStep = (y / 8) * Wsteps8; x < width; x += 8, yStep++)
- for (int iy = 0, xStep = yStep * 8 ; iy < 8; iy++,yStep++)
+ for (int iy = 0; iy < 8; iy++,yStep++)
for (int ix = 0; ix < 4; ix++)
{
int val = src[4 * yStep + ix];