2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-10 09:07:42 +00:00

CGuiWidgetDrawParms: Make constexpr constructible

We can allow this structure to be constructed in a constexpr context.

This also allows us to remove the cpp file, given it's no longer
necessary.
This commit is contained in:
Lioncash
2020-04-26 01:15:02 -04:00
parent 07ebdd364c
commit 6c475b6764
7 changed files with 12 additions and 16 deletions

View File

@@ -329,7 +329,7 @@ void CSaveGameScreen::SetUIColors() {
void CSaveGameScreen::Draw() const {
SCOPED_GRAPHICS_DEBUG_GROUP("CSaveGameScreen::Draw", zeus::skPurple);
if (x50_loadedFrame)
x50_loadedFrame->Draw(CGuiWidgetDrawParms::Default);
x50_loadedFrame->Draw(CGuiWidgetDrawParms::Default());
}
void CSaveGameScreen::ContinueWithoutSaving() {