mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:17:35 +00:00
LibGL: Implement glDrawElements
This commit is contained in:
parent
e64d0d43d2
commit
949d27f21b
5 changed files with 68 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue