mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:27:35 +00:00
LibGL: Implement glReadPixels() stub with argument validation
This commit is contained in:
parent
24e74750d5
commit
d6c84ca4df
5 changed files with 101 additions and 1 deletions
|
@ -78,4 +78,9 @@ void glHint(GLenum target, GLenum mode)
|
|||
void glReadBuffer(GLenum mode)
|
||||
{
|
||||
g_gl_context->gl_read_buffer(mode);
|
||||
}
|
||||
}
|
||||
|
||||
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