diff options
Diffstat (limited to 'src/citra_qt/debugger/graphics_framebuffer.cpp')
| -rw-r--r-- | src/citra_qt/debugger/graphics_framebuffer.cpp | 4 |
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() | |||
| 217 | break; | 217 | break; |
| 218 | } | 218 | } |
| 219 | 219 | ||
| 220 | // TODO: Implement a good way to visualize alpha components! | ||
| 221 | // TODO: Unify this decoding code with the texture decoder | ||
| 220 | switch (framebuffer_format) { | 222 | switch (framebuffer_format) { |
| 221 | case Format::RGBA8: | 223 | case Format::RGBA8: |
| 222 | { | 224 | { |
| 223 | // TODO: Implement a good way to visualize the alpha component | ||
| 224 | |||
| 225 | QImage decoded_image(framebuffer_width, framebuffer_height, QImage::Format_ARGB32); | 225 | QImage decoded_image(framebuffer_width, framebuffer_height, QImage::Format_ARGB32); |
| 226 | u32* color_buffer = (u32*)Memory::GetPointer(framebuffer_address); | 226 | u32* color_buffer = (u32*)Memory::GetPointer(framebuffer_address); |
| 227 | for (int y = 0; y < framebuffer_height; ++y) { | 227 | for (int y = 0; y < framebuffer_height; ++y) { |