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

CIOWin: Make Draw() non-const

Allows removing several const_cast usages within the codebase.
This commit is contained in:
Lioncash
2020-03-29 21:55:58 -04:00
parent 0d3bab4c14
commit 6dce70895c
17 changed files with 42 additions and 36 deletions

View File

@@ -37,7 +37,7 @@ public:
void SetTexture(const TLockedToken<CTexture>& tex) { m_texQuad.emplace(EFilterType::Blend, tex); }
bool IsLoaded() const { return m_texQuad && m_texQuad->GetTex().IsLoaded(); }
void Draw() const;
void Draw();
};
private:
@@ -110,7 +110,7 @@ public:
CSlideShow();
EMessageReturn OnMessage(const CArchitectureMessage&, CArchitectureQueue&) override;
bool GetIsContinueDraw() const override { return false; }
void Draw() const override;
void Draw() override;
static u32 SlideShowGalleryFlags();
};