1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 04:17:35 +00:00

LibGL: Implement glDrawElements

This commit is contained in:
Stephan Unverwerth 2021-08-13 15:37:38 +02:00 committed by Andreas Kling
parent e64d0d43d2
commit 949d27f21b
5 changed files with 68 additions and 1 deletions

View file

@ -28,3 +28,8 @@ void glDrawArrays(GLenum mode, GLint first, GLsizei count)
{
g_gl_context->gl_draw_arrays(mode, first, count);
}
void glDrawElements(GLenum mode, GLsizei count, GLenum type, const void* indices)
{
g_gl_context->gl_draw_elements(mode, count, type, indices);
}