Update JGL

This commit is contained in:
2024-05-23 10:57:48 -04:00
parent 9ac22a8a87
commit 93612bb816
4 changed files with 6 additions and 37 deletions

View File

@@ -4,7 +4,6 @@
#include <glad/glad.h>
#include <JGL/JGL.h>
#include <J3ML/LinearAlgebra/Transform2D.h>
#include <freetype2/ft2build.h>
#include FT_FREETYPE_H
#include <JGL/Color3.h>
@@ -29,7 +28,7 @@ namespace JGL
return false;
}
if (FT_New_Face(ft, "content/FreeSans.ttf", 0, &face))
if (FT_New_Face(ft, "assets/fonts/FreeSans.ttf", 0, &face))
{
std::cout << "Error::FREETYPE: Failed to load font!" << std::endl;
return false;