diff options
Diffstat (limited to 'src/video_core/rasterizer.cpp')
| -rw-r--r-- | src/video_core/rasterizer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/rasterizer.cpp b/src/video_core/rasterizer.cpp index 5f7971fe2..08b649fb6 100644 --- a/src/video_core/rasterizer.cpp +++ b/src/video_core/rasterizer.cpp | |||
| @@ -214,7 +214,7 @@ void ProcessTriangle(const VertexShader::OutputVertex& v0, | |||
| 214 | } | 214 | } |
| 215 | }; | 215 | }; |
| 216 | s = GetWrappedTexCoord(registers.texture0.wrap_s, s, registers.texture0.width); | 216 | s = GetWrappedTexCoord(registers.texture0.wrap_s, s, registers.texture0.width); |
| 217 | t = GetWrappedTexCoord(registers.texture0.wrap_t, t, registers.texture0.height); | 217 | t = registers.texture0.height - 1 - GetWrappedTexCoord(registers.texture0.wrap_t, t, registers.texture0.height); |
| 218 | 218 | ||
| 219 | u8* texture_data = Memory::GetPointer(PAddrToVAddr(texture.config.GetPhysicalAddress())); | 219 | u8* texture_data = Memory::GetPointer(PAddrToVAddr(texture.config.GetPhysicalAddress())); |
| 220 | auto info = DebugUtils::TextureInfo::FromPicaRegister(texture.config, texture.format); | 220 | auto info = DebugUtils::TextureInfo::FromPicaRegister(texture.config, texture.format); |