diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-08-19 20:16:34 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-08-19 20:16:34 +0200 |
commit | 8731a00681a2cf99965203849bd7ba8f6c09df9a (patch) | |
tree | 2f7a3db3ec862e50c9e6e9154e575cc3c88bd293 /src/gl.c | |
parent | f1ede6cfa5cc2af2e7f93e29f2311e9ece7f41c4 (diff) |
Add mgl_texture_init_reference_existing_gl_texture to easily create a texture and then a sprite from an existing opengl texture
Diffstat (limited to 'src/gl.c')
-rw-r--r-- | src/gl.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -29,6 +29,7 @@ static int mgl_gl_load_gl(mgl_gl *self) { { (void**)&self->glBlendFunc, "glBlendFunc" }, { (void**)&self->glGenTextures, "glGenTextures" }, { (void**)&self->glDeleteTextures, "glDeleteTextures" }, + { (void**)&self->glGetTexLevelParameteriv, "glGetTexLevelParameteriv" }, { (void**)&self->glTexImage2D, "glTexImage2D" }, { (void**)&self->glTexSubImage2D, "glTexSubImage2D" }, { (void**)&self->glBindTexture, "glBindTexture" }, |