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.
11 lines
282 B
C
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);
|