Merge pull request #211 from ggdrt/patch-0

GPU: Fix "Draw To Display Area" debug reporting
This commit is contained in:
Connor McLaughlin 2020-04-02 11:41:09 +10:00 committed by GitHub
commit 643e429ad2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1141,7 +1141,7 @@ void GPU::DrawDebugStateWindow()
if (ImGui::CollapsingHeader("GPU", ImGuiTreeNodeFlags_DefaultOpen))
{
ImGui::Text("Dither: %s", m_GPUSTAT.dither_enable ? "Enabled" : "Disabled");
ImGui::Text("Draw To Display Area: %s", m_GPUSTAT.dither_enable ? "Yes" : "No");
ImGui::Text("Draw To Display Area: %s", m_GPUSTAT.draw_to_display_area ? "Enabled" : "Disabled");
ImGui::Text("Draw Set Mask Bit: %s", m_GPUSTAT.set_mask_while_drawing ? "Yes" : "No");
ImGui::Text("Draw To Masked Pixels: %s", m_GPUSTAT.check_mask_before_draw ? "Yes" : "No");
ImGui::Text("Reverse Flag: %s", m_GPUSTAT.reverse_flag ? "Yes" : "No");