diff options
author | Tony Wasserka <NeoBrainX@gmail.com> | 2014-12-06 21:52:21 +0100 |
---|---|---|
committer | Tony Wasserka <NeoBrainX@gmail.com> | 2014-12-20 18:05:53 +0100 |
commit | 3df88d59b0ba43f1c3360cfdaaccd461cacff72c (patch) | |
tree | d0377ec9b94ba6bb5f7c02b539eeeba00d7887d5 /src/citra_qt | |
parent | Pica: Implement texture wrapping. (diff) | |
download | yuzu-3df88d59b0ba43f1c3360cfdaaccd461cacff72c.tar yuzu-3df88d59b0ba43f1c3360cfdaaccd461cacff72c.tar.gz yuzu-3df88d59b0ba43f1c3360cfdaaccd461cacff72c.tar.bz2 yuzu-3df88d59b0ba43f1c3360cfdaaccd461cacff72c.tar.lz yuzu-3df88d59b0ba43f1c3360cfdaaccd461cacff72c.tar.xz yuzu-3df88d59b0ba43f1c3360cfdaaccd461cacff72c.tar.zst yuzu-3df88d59b0ba43f1c3360cfdaaccd461cacff72c.zip |
Diffstat (limited to 'src/citra_qt')
-rw-r--r-- | src/citra_qt/debugger/graphics_cmdlists.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/citra_qt/debugger/graphics_cmdlists.cpp b/src/citra_qt/debugger/graphics_cmdlists.cpp index bdd676470..01ff31d44 100644 --- a/src/citra_qt/debugger/graphics_cmdlists.cpp +++ b/src/citra_qt/debugger/graphics_cmdlists.cpp @@ -24,7 +24,7 @@ QImage LoadTexture(u8* src, const Pica::DebugUtils::TextureInfo& info) { QImage decoded_image(info.width, info.height, QImage::Format_ARGB32); for (int y = 0; y < info.height; ++y) { for (int x = 0; x < info.width; ++x) { - Math::Vec4<u8> color = Pica::DebugUtils::LookupTexture(src, x, y, info); + Math::Vec4<u8> color = Pica::DebugUtils::LookupTexture(src, x, y, info, true); decoded_image.setPixel(x, y, qRgba(color.r(), color.g(), color.b(), color.a())); } } |