Added True Type fonts

This commit is contained in:
2021-05-23 10:53:00 -07:00
parent ec13de8b3e
commit cafcf22326
36 changed files with 575 additions and 167 deletions

View File

@ -7,6 +7,12 @@
#include "texture.h"
// Due to some compiler bullshit, this is here.
#ifndef STB_IMAGE_IMPLEMENTATION
#define STB_IMAGE_IMPLEMENTATION
#include <stb_image.h>
#endif
void textureInit(texture_t *texture, int32_t width, int32_t height,
pixel_t *pixels
) {