mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 06:27:43 +00:00
const_cast refactor
This commit is contained in:
@@ -151,7 +151,7 @@ void CTextRenderBuffer::SetPrimitiveOpacity(int idx, float opacity)
|
||||
|
||||
void CTextRenderBuffer::Render(const zeus::CColor& col, float time) const
|
||||
{
|
||||
((CTextRenderBuffer*)this)->CommitResources();
|
||||
const_cast<CTextRenderBuffer*>(this)->CommitResources();
|
||||
|
||||
BooUniform uniforms = {CGraphics::GetPerspectiveProjectionMatrix(true) *
|
||||
CGraphics::g_GXModelView.toMatrix4f(), col};
|
||||
|
||||
Reference in New Issue
Block a user