GPU: Report CRTC padding as signed in debug window
This commit is contained in:
parent
45f3560427
commit
e2b1158514
|
@ -1448,7 +1448,7 @@ void GPU::DrawDebugStateWindow()
|
||||||
ImGui::Text("Display origin: %u, %u", cs.display_origin_left, cs.display_origin_top);
|
ImGui::Text("Display origin: %u, %u", cs.display_origin_left, cs.display_origin_top);
|
||||||
ImGui::Text("Active display: %ux%u @ (%u, %u)", cs.display_vram_width, cs.display_vram_height, cs.display_vram_left,
|
ImGui::Text("Active display: %ux%u @ (%u, %u)", cs.display_vram_width, cs.display_vram_height, cs.display_vram_left,
|
||||||
cs.display_vram_top);
|
cs.display_vram_top);
|
||||||
ImGui::Text("Padding: Left=%u, Top=%u, Right=%u, Bottom=%u", cs.display_origin_left, cs.display_origin_top,
|
ImGui::Text("Padding: Left=%d, Top=%d, Right=%d, Bottom=%d", cs.display_origin_left, cs.display_origin_top,
|
||||||
cs.display_width - cs.display_vram_width - cs.display_origin_left,
|
cs.display_width - cs.display_vram_width - cs.display_origin_left,
|
||||||
cs.display_height - cs.display_vram_height - cs.display_origin_top);
|
cs.display_height - cs.display_vram_height - cs.display_origin_top);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue