mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:37:45 +00:00
LibGL: Remove stubbed border from glTexImage2D
Providing anything else than `border == 0` is deprecated and should result in an invalid value error.
This commit is contained in:
parent
b2e75929f4
commit
7833f25f8f
3 changed files with 4 additions and 4 deletions
|
@ -29,7 +29,7 @@ public:
|
|||
public:
|
||||
virtual bool is_texture_2d() const override { return true; }
|
||||
|
||||
void upload_texture_data(GLuint lod, GLint internal_format, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid* pixels, GLsizei pixels_per_row, u8 byte_alignment);
|
||||
void upload_texture_data(GLuint lod, GLint internal_format, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* pixels, GLsizei pixels_per_row, u8 byte_alignment);
|
||||
void replace_sub_texture_data(GLuint lod, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* pixels, GLsizei pixels_per_row, u8 byte_alignment);
|
||||
|
||||
MipMap const& mipmap(unsigned lod) const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue