Half-baked Font class implementation
Some checks failed
Run ReCI Build Test / Explore-Gitea-Actions (push) Failing after 1m29s

This commit is contained in:
2024-07-16 14:54:47 -04:00
parent 2d1e42c23b
commit d28f680cd0
3 changed files with 14 additions and 0 deletions

View File

@@ -5,6 +5,8 @@
#include <freetype2/ft2build.h>
#include FT_FREETYPE_H
#include FT_OUTLINE_H
#include "jlog/jlog.hpp"
#endif
#if _WIN32
#include <ft2build.h>
@@ -41,6 +43,7 @@ namespace JGL {
//If the font doesn't exist in the cache yet.
if (!cachedFont) {
DEBUG("Caching font data...");
GLuint texture_id;
glGenTextures(1, &texture_id);
glBindTexture(GL_TEXTURE_2D, texture_id);