mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-03 22:59:33 +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:
parent
eb368a5000
commit
19a08ff187
Notes:
sideshowbarker
2024-07-18 05:16:25 +09:00
Author: https://github.com/sunverwerth
Commit: 19a08ff187
Pull-request: https://github.com/SerenityOS/serenity/pull/9550
Reviewed-by: https://github.com/Quaker762 ✅
7 changed files with 79 additions and 31 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue