1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 07:27: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

@ -84,3 +84,8 @@ void glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format
{
g_gl_context->gl_read_pixels(x, y, width, height, format, type, pixels);
}
void glGetFloatv(GLenum pname, GLfloat* params)
{
g_gl_context->gl_get_floatv(pname, params);
}