1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 02:17:35 +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:
Jelle Raaijmakers 2021-11-28 01:48:21 +01:00 committed by Andreas Kling
parent 0d57f08b98
commit 5e370e6f96
7 changed files with 81 additions and 54 deletions

View file

@ -85,7 +85,7 @@ public:
virtual void gl_fogfv(GLenum pname, GLfloat* params) = 0;
virtual void gl_fogf(GLenum pname, GLfloat params) = 0;
virtual void gl_fogi(GLenum pname, GLint param) = 0;
virtual void gl_pixel_store(GLenum pname, GLfloat param) = 0;
virtual void gl_pixel_storei(GLenum pname, GLint param) = 0;
virtual void gl_scissor(GLint x, GLint y, GLsizei width, GLsizei height) = 0;
virtual void present() = 0;