Skip to content

Commit

Permalink
Minor fix: rename width43 to width169
Browse files Browse the repository at this point in the history
  • Loading branch information
gonetz committed Feb 18, 2024
1 parent ac66121 commit 62c7bc5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/DisplayWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,8 @@ void DisplayWindow::_setBufferSize()
m_width = m_screenWidth;
m_height = m_screenHeight;
if (m_screenWidth * 9 / 16 > m_screenHeight) {
f32 width43 = m_screenHeight * 16.0f / 9.0f;
m_adjustScale = width43 / m_screenWidth;
f32 width169 = m_screenHeight * 16.0f / 9.0f;
m_adjustScale = width169 / m_screenWidth;
m_bAdjustScreen = true;
}
break;
Expand Down

0 comments on commit 62c7bc5

Please sign in to comment.