mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-01 15:18:06 +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:
parent
99ffcc28c2
commit
61bd1890d2
Notes:
sideshowbarker
2024-07-18 12:35:15 +09:00
Author: https://github.com/ebiederstadt
Commit: 61bd1890d2
Pull-request: https://github.com/SerenityOS/serenity/pull/7936
Reviewed-by: https://github.com/sunverwerth ✅
5 changed files with 43 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue