mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 03:07:41 +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:
@@ -324,7 +324,7 @@ void CHudDecoInterfaceScan::Update(float dt, const CStateManager& stateMgr) {
|
||||
void CHudDecoInterfaceScan::Draw() {
|
||||
x18_scanDisplay.Draw();
|
||||
if (x10_loadedScanHudFlat) {
|
||||
x10_loadedScanHudFlat->Draw(CGuiWidgetDrawParms::Default);
|
||||
x10_loadedScanHudFlat->Draw(CGuiWidgetDrawParms::Default());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user