1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 16:15:10 +00:00

LibGL: Implement glPixelStorei

This sets the length of a row for the image to be transferred. This
value is measured in pixels. When a rectangle with a width less than
this value is transferred the remaining pixels of this row are skipped.
This commit is contained in:
Stephan Unverwerth 2021-08-21 14:49:27 +02:00 committed by Andreas Kling
parent eb368a5000
commit 19a08ff187
7 changed files with 79 additions and 31 deletions

View file

@ -134,3 +134,8 @@ void glPolygonMode(GLenum face, GLenum mode)
{
g_gl_context->gl_polygon_mode(face, mode);
}
void glPixelStorei(GLenum pname, GLint param)
{
g_gl_context->gl_pixel_store(pname, param);
}