Font cache
Some checks failed
Run ReCI Build Test / Explore-Gitea-Actions (push) Failing after 1m34s

This commit is contained in:
2024-07-06 22:43:43 -04:00
parent 11ce9ac5fe
commit c62b58aa16
5 changed files with 251 additions and 56 deletions

View File

@@ -34,14 +34,9 @@ class JGLDemoWindow : public ReWindow::RWindow
public:
JGLDemoWindow() : ReWindow::RWindow() {}
JGLDemoWindow(const std::string& title, int width, int height) :
ReWindow::RWindow(title, width, height)
{
JGLDemoWindow(const std::string& title, int width, int height) : ReWindow::RWindow(title, width, height){}
}
void initGL()
{
void initGL() {
gladLoadGL();
glMatrixMode(GL_PROJECTION);
@@ -64,7 +59,6 @@ public:
void display() {
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
glMatrixMode(GL_PROJECTION);
glLoadIdentity();
glOrtho(0, getSize().x, getSize().y, 0, -1, 1);