mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-09-11 05:38:31 +09:00
[Feat] (...): Implement glDrawArrays.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user