Fix comparison

This commit is contained in:
tovjemam 2026-01-19 18:15:07 +01:00
parent 7e1496bd70
commit 8f874ddf57

View File

@ -315,7 +315,7 @@ void gfx::Renderer::DrawHudList(std::span<DrawHudCmd> queue, const DrawListParam
}
// bind vao
if (last_vao = cmd.va)
if (last_vao != cmd.va)
{
glBindVertexArray(cmd.va->GetVAOId());
last_vao = cmd.va;