Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix stupid bug in Z16L depth texture efb2ram encoding shader.
  • Loading branch information
phire committed Jan 12, 2014
1 parent e3d103f commit 9aff16e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Core/VideoCommon/TextureConversionShader.cpp
Expand Up @@ -555,8 +555,8 @@ void WriteZ16LEncoder(char* p,API_TYPE ApiType)
WRITE(p, " depth -= expanded.g * 256.0;\n");
WRITE(p, " expanded.b = depth;\n");

WRITE(p, " ocol0.r = expanded.b;\n");
WRITE(p, " ocol0.a = expanded.g;\n");
WRITE(p, " ocol0.r = expanded.b / 255.0;\n");
WRITE(p, " ocol0.a = expanded.g / 255.0;\n");

WriteEncoderEnd(p, ApiType);
}
Expand Down

0 comments on commit 9aff16e

Please sign in to comment.