Fix Linux build warnings

This commit is contained in:
notmatthewbeshay
2026-03-14 04:37:55 +11:00
parent 44ade1f2b2
commit 0249bfd2bf
47 changed files with 183 additions and 60 deletions

View File

@@ -52,6 +52,8 @@ void UIComponent_MenuBackground::render(S32 width, S32 height, C4JRender::eViewp
xPos = (S32)(ui.getScreenWidth() / 2);
yPos = (S32)(ui.getScreenHeight() / 2);
break;
default:
break;
}
ui.setupRenderPosition(xPos, yPos);
@@ -80,6 +82,8 @@ void UIComponent_MenuBackground::render(S32 width, S32 height, C4JRender::eViewp
case C4JRender::VIEWPORT_TYPE_QUADRANT_BOTTOM_RIGHT:
tileYStart = (S32)(m_movieHeight / 2);
break;
default:
break;
}
IggyPlayerSetDisplaySize( getMovie(), m_movieWidth, m_movieHeight );
@@ -100,4 +104,4 @@ void UIComponent_MenuBackground::render(S32 width, S32 height, C4JRender::eViewp
{
UIScene::render(width, height, viewport);
}
}
}