mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-11 03:47:50 +00:00
Graphics debug groups and bug fixes
This commit is contained in:
@@ -55,6 +55,7 @@ void CAuiEnergyBarT01::Update(float dt) {
|
||||
void CAuiEnergyBarT01::Draw(const CGuiWidgetDrawParms& drawParms) const {
|
||||
if (!xbc_tex || !xbc_tex.IsLoaded() || !xd8_coordFunc)
|
||||
return;
|
||||
SCOPED_GRAPHICS_DEBUG_GROUP(fmt::format(fmt("CAuiEnergyBarT01::Draw {}"), m_name).c_str(), zeus::skCyan);
|
||||
|
||||
CGraphics::SetModelMatrix(x34_worldXF);
|
||||
const_cast<CEnergyBarShader&>(m_energyBarShader).updateModelMatrix();
|
||||
|
||||
Reference in New Issue
Block a user