mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-21 18:00:16 +00:00
LibGL: Implement glDrawBuffer
This commit is contained in:
parent
b069c1306c
commit
7cbaaf8366
Notes:
sideshowbarker
2024-07-18 04:54:15 +09:00
Author: https://github.com/sunverwerth
Commit: 7cbaaf8366
Pull-request: https://github.com/SerenityOS/serenity/pull/9713
Reviewed-by: https://github.com/Quaker762 ✅
7 changed files with 52 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue