mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-26 10:12:17 +02:00
Export the free texture function
This commit is contained in:
@@ -90,6 +90,13 @@ static void
|
||||
update_viewport_size_impl(int w, int h) {
|
||||
glViewport(0, 0, w, h); check_gl();
|
||||
}
|
||||
|
||||
static void
|
||||
free_texture_impl(GLuint *tex_id) {
|
||||
glDeleteTextures(1, tex_id); check_gl();
|
||||
*tex_id = 0;
|
||||
}
|
||||
|
||||
// }}}
|
||||
|
||||
// Programs {{{
|
||||
|
||||
Reference in New Issue
Block a user