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
commit d6c84ca4df
Notes: sideshowbarker 2024-07-18 17:27:26 +09:00
5 changed files with 101 additions and 1 deletions

View file

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