diff options
| author | Jordan Woyak <jordan.woyak@gmail.com> | 2023-09-05 15:34:43 -0500 |
|---|---|---|
| committer | Jordan Woyak <jordan.woyak@gmail.com> | 2024-04-18 14:45:28 -0500 |
| commit | 1e27183dff95ece6301b7171d2cd573a36a2dd65 (patch) | |
| tree | 311498ce1ec411d7c9b6dd04335dbf2a65e9a7f7 /Source/Core/VideoCommon/Statistics.cpp | |
| parent | 1805f6e38158c90b9108895d42ca6cc37d0aeff7 (diff) | |
VideoCommon: Show the average projection to viewport ratio in statistics
window.
Diffstat (limited to 'Source/Core/VideoCommon/Statistics.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/Statistics.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/Statistics.cpp b/Source/Core/VideoCommon/Statistics.cpp index aea3b0e957..6e6dedfc62 100644 --- a/Source/Core/VideoCommon/Statistics.cpp +++ b/Source/Core/VideoCommon/Statistics.cpp @@ -147,6 +147,9 @@ void Statistics::DisplayProj() const ImGui::Text("Projection 13: %f (%f)", gproj[13], g2proj[13]); ImGui::Text("Projection 14: %f (%f)", gproj[14], g2proj[14]); ImGui::Text("Projection 15: %f (%f)", gproj[15], g2proj[15]); + ImGui::NewLine(); + ImGui::Text("Avg Projection Viewport Ratio Persp(3D): %f", avg_persp_proj_viewport_ratio); + ImGui::Text("Avg Projection Viewport Ratio Ortho(2D): %f", avg_ortho_proj_viewport_ratio); ImGui::End(); } |
