summaryrefslogtreecommitdiffstats
path: root/src/citra_qt/debugger/graphics_framebuffer.cpp
diff options
context:
space:
mode:
authorTony Wasserka <NeoBrainX@gmail.com>2014-12-04 19:41:03 +0100
committerTony Wasserka <NeoBrainX@gmail.com>2014-12-09 16:37:34 +0100
commit0cd27a511ecd170484b672263c09192b579e31ac (patch)
treedfa2dece82fcbcfe45708582a493ee0ff317ce82 /src/citra_qt/debugger/graphics_framebuffer.cpp
parentcitra-qt: Add pica framebuffer widget. (diff)
downloadyuzu-0cd27a511ecd170484b672263c09192b579e31ac.tar
yuzu-0cd27a511ecd170484b672263c09192b579e31ac.tar.gz
yuzu-0cd27a511ecd170484b672263c09192b579e31ac.tar.bz2
yuzu-0cd27a511ecd170484b672263c09192b579e31ac.tar.lz
yuzu-0cd27a511ecd170484b672263c09192b579e31ac.tar.xz
yuzu-0cd27a511ecd170484b672263c09192b579e31ac.tar.zst
yuzu-0cd27a511ecd170484b672263c09192b579e31ac.zip
Diffstat (limited to '')
-rw-r--r--src/citra_qt/debugger/graphics_framebuffer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/citra_qt/debugger/graphics_framebuffer.cpp b/src/citra_qt/debugger/graphics_framebuffer.cpp
index b91db5433..ac47f298d 100644
--- a/src/citra_qt/debugger/graphics_framebuffer.cpp
+++ b/src/citra_qt/debugger/graphics_framebuffer.cpp
@@ -217,11 +217,11 @@ void GraphicsFramebufferWidget::OnUpdate()
break;
}
+ // TODO: Implement a good way to visualize alpha components!
+ // TODO: Unify this decoding code with the texture decoder
switch (framebuffer_format) {
case Format::RGBA8:
{
- // TODO: Implement a good way to visualize the alpha component
-
QImage decoded_image(framebuffer_width, framebuffer_height, QImage::Format_ARGB32);
u32* color_buffer = (u32*)Memory::GetPointer(framebuffer_address);
for (int y = 0; y < framebuffer_height; ++y) {