1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 13:17:35 +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:
Jelle Raaijmakers 2021-12-26 15:30:20 +01:00 committed by Andreas Kling
parent b2e75929f4
commit 7833f25f8f
3 changed files with 4 additions and 4 deletions

View file

@ -10,7 +10,7 @@
namespace GL {
void Texture2D::upload_texture_data(GLuint lod, GLint internal_format, GLsizei width, GLsizei height, GLint, GLenum format, GLenum type, const GLvoid* pixels, GLsizei pixels_per_row, u8 byte_alignment)
void Texture2D::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)
{
// NOTE: Some target, format, and internal formats are currently unsupported.
// Considering we control this library, and `gl.h` itself, we don't need to add any