[Misc] poking around...attempting to fix vbo problem but no avail

This commit is contained in:
2025-05-11 22:59:26 +08:00
parent d0b8777249
commit 7fdf31c782
7 changed files with 228 additions and 294 deletions
+1
View File
@@ -177,6 +177,7 @@ namespace MG_State {
auto* vao = MG_State_T::vertexArrayState->GetCurrentVAO();
if (!vao) return GL_INVALID_OPERATION;
vao->elementBuffer = (GLuint)buffer;
vao->eboDirty = true;
}
return MG_State_T::bufferState->Bind(target, buffer);
}