1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 23:27:43 +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

@ -70,6 +70,7 @@ public:
virtual void gl_color_pointer(GLint size, GLenum type, GLsizei stride, const void* pointer) = 0;
virtual void gl_tex_coord_pointer(GLint size, GLenum type, GLsizei stride, const void* pointer) = 0;
virtual void gl_draw_arrays(GLenum mode, GLint first, GLsizei count) = 0;
virtual void gl_draw_elements(GLenum mode, GLsizei count, GLenum type, const void* indices) = 0;
virtual void present() = 0;
};