summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Src/TextureCacheBase.cpp
diff options
context:
space:
mode:
authorRodolfo Osvaldo Bogado <rodolfoosvaldobogado@gmail.com>2011-01-05 17:22:25 +0000
committerRodolfo Osvaldo Bogado <rodolfoosvaldobogado@gmail.com>2011-01-05 17:22:25 +0000
commit0a36663b01c87279cde2edb40159798c44f52c8c (patch)
treeabde74c5f4def741b9bc5d57f00f47b00e54c235 /Source/Core/VideoCommon/Src/TextureCacheBase.cpp
parentd435fd8957a204479c7f045aa34e722de626b7d4 (diff)
corrected a little error in my last commit
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6752 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/VideoCommon/Src/TextureCacheBase.cpp')
-rw-r--r--Source/Core/VideoCommon/Src/TextureCacheBase.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/Src/TextureCacheBase.cpp b/Source/Core/VideoCommon/Src/TextureCacheBase.cpp
index 52edba3c8a..4669a95395 100644
--- a/Source/Core/VideoCommon/Src/TextureCacheBase.cpp
+++ b/Source/Core/VideoCommon/Src/TextureCacheBase.cpp
@@ -428,8 +428,6 @@ void TextureCache::CopyRenderTargetToTexture(u32 address, bool bFromZBuffer,
switch(copyfmt)
{
case 0: // Z4
- colmat[3] = colmat[7] = colmat[11] = colmat[15] = 1;
- break;
case 1: // Z8
case 8: // Z8
colmat[2] = colmat[6] = colmat[10] = colmat[14] = 1;
@@ -469,7 +467,9 @@ void TextureCache::CopyRenderTargetToTexture(u32 address, bool bFromZBuffer,
{
switch (copyfmt)
{
- case 0: // Z4
+ case 0: // Z4
+ colmat[3] = colmat[7] = colmat[11] = colmat[15] = 1;
+ break;
case 1: // Z8
case 8: // Z8
colmat[0] = colmat[4] = colmat[8] = colmat[12] = 1.0f;