mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 19:38:12 +00:00
LibGL: Implement Texture State Management
Some very primitive Texture State management. Data can now be uploaded to textures.
This commit is contained in:
parent
21dff6d40b
commit
4f324ba4d7
8 changed files with 309 additions and 0 deletions
|
@ -18,3 +18,8 @@ void glDeleteTextures(GLsizei n, const GLuint* textures)
|
|||
{
|
||||
g_gl_context->gl_delete_textures(n, textures);
|
||||
}
|
||||
|
||||
void glTexImage2D(GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid* data)
|
||||
{
|
||||
g_gl_context->gl_tex_image_2d(target, level, internalFormat, width, height, border, format, type, data);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue