1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 23:17:45 +00:00

LibGL: Implement very basic version of glGetFloatv

This is a very basic implementation of glGetfloatv. It will only give a
result when used with GL_MODELVIEW_MATRIX. In the future
 we can update and extend it's functionality.
This commit is contained in:
Erik Biederstadt 2021-06-08 21:34:50 -06:00 committed by Andreas Kling
parent 99ffcc28c2
commit 61bd1890d2
5 changed files with 43 additions and 0 deletions

View file

@ -61,6 +61,7 @@ public:
virtual void gl_tex_coord(GLfloat s, GLfloat t, GLfloat r, GLfloat q) = 0;
virtual void gl_bind_texture(GLenum target, GLuint texture) = 0;
virtual void gl_active_texture(GLenum texture) = 0;
virtual void gl_get_floatv(GLenum pname, GLfloat* params) = 0;
virtual void present() = 0;
};