2
0
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:
2020-10-21 01:12:07 -04:00
parent 2874a48166
commit c8ba49bb50
31 changed files with 157 additions and 49 deletions

View File

@@ -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);
}