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

LibGL: Implement glDrawBuffer

This commit is contained in:
Stephan Unverwerth 2021-08-31 20:23:29 +02:00 committed by Ali Mohammad Pur
parent b069c1306c
commit 7cbaaf8366
7 changed files with 52 additions and 1 deletions

View file

@ -85,6 +85,11 @@ void glReadBuffer(GLenum mode)
g_gl_context->gl_read_buffer(mode);
}
void glDrawBuffer(GLenum buffer)
{
g_gl_context->gl_draw_buffer(buffer);
}
void glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels)
{
g_gl_context->gl_read_pixels(x, y, width, height, format, type, pixels);