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:
@@ -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();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user