renderer/opengl: upload kitty image textures

This commit is contained in:
Mitchell Hashimoto
2023-11-19 22:08:07 -08:00
parent 553d81afd1
commit 76c76ce85e
3 changed files with 418 additions and 0 deletions

View File

@@ -78,6 +78,7 @@ pub const InternalFormat = enum(c_int) {
pub const Format = enum(c_uint) {
red = c.GL_RED,
rgb = c.GL_RGB,
rgba = c.GL_RGBA,
bgra = c.GL_BGRA,
// There are so many more that I haven't filled in.