[Feat] (...): Implement glDrawArrays.

This commit is contained in:
BZLZHH
2025-11-01 13:06:18 +08:00
parent 0ae69cfe9e
commit e8d6cd4b31
6 changed files with 21 additions and 3 deletions
@@ -348,6 +348,11 @@ namespace MobileGL::MG_Backend::DirectGLES {
}
}
void DrawArrays(GLenum mode, GLint first, GLsizei count) {
PrepareForDraw();
MG_External::GLES::glDrawArrays(mode, first, count);
}
void DrawElements(GLenum mode, GLsizei count, GLenum type, const void* indices) {
PrepareForDraw();
MG_External::GLES::glDrawElements(mode, count, type, indices);