1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 00:37:35 +00:00

LibGL: Implement glReadPixels() stub with argument validation

This commit is contained in:
Stephan Unverwerth 2021-05-24 16:11:06 +02:00 committed by Linus Groh
parent 24e74750d5
commit d6c84ca4df
5 changed files with 101 additions and 1 deletions

View file

@ -60,6 +60,7 @@ public:
virtual void gl_alpha_func(GLenum func, GLclampf ref) override;
virtual void gl_hint(GLenum target, GLenum mode) override;
virtual void gl_read_buffer(GLenum mode) override;
virtual void gl_read_pixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels) override;
virtual void present() override;