mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-13 03:29:49 +00:00
LibGL: Implement GL_(UN)PACK_ALIGNMENT
These enums are used to indicate byte-alignment when reading from and to textures. The `GL_UNPACK_ROW_LENGTH` value was reimplemented to support overriding the source data row width.
This commit is contained in:
parent
0d57f08b98
commit
5e370e6f96
Notes:
sideshowbarker
2024-07-17 22:57:55 +09:00
Author: https://github.com/gmta
Commit: 5e370e6f96
Pull-request: https://github.com/SerenityOS/serenity/pull/11108
Reviewed-by: https://github.com/alimpfard
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/sunverwerth ✅
7 changed files with 81 additions and 54 deletions
|
@ -152,7 +152,7 @@ void glPolygonOffset(GLfloat factor, GLfloat units)
|
|||
|
||||
void glPixelStorei(GLenum pname, GLint param)
|
||||
{
|
||||
g_gl_context->gl_pixel_store(pname, param);
|
||||
g_gl_context->gl_pixel_storei(pname, param);
|
||||
}
|
||||
|
||||
void glScissor(GLint x, GLint y, GLsizei width, GLsizei height)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue