Files
anm2ed/src/texture.h
T
shweet 6f2fc8c196 Load OpenGL through SDL instead of glad
gl.h lists the 62 functions the editor calls, loaded with SDL_GL_GetProcAddress into gl, as in smack-a-brother.
The 25k lines of glad and KHR headers are gone.
2026-11-22 17:36:29 -05:00

11 lines
282 B
C

#pragma once
#include "gl.h"
#include "image.h"
// GPU copies of Images, uploaded on first use and evicted when a frame passes without them being drawn.
GLuint texture_id_get(const Image&);
void texture_garbage_collect();
Image texture_svg_load(const char*, size_t, glm::ivec2);