mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-19 04:45:23 +00:00
CElementGenShaders, CDecalShaders fixes
Add conditions for HSH_PROFILE_MODE
This commit is contained in:
@@ -59,7 +59,9 @@ void CAABoxShader::draw(const zeus::CColor& color) {
|
||||
|
||||
m_uniform.m_xf = CGraphics::GetPerspectiveProjectionMatrix(true) * CGraphics::g_GXModelView.toMatrix4f();
|
||||
m_uniform.m_color = color;
|
||||
#if !HSH_PROFILE_MODE
|
||||
m_uniBuf.load(m_uniform);
|
||||
#endif
|
||||
|
||||
m_dataBind.draw(0, VertexCount);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user