Font cache
Some checks failed
Run ReCI Build Test / Explore-Gitea-Actions (push) Failing after 1m34s
Some checks failed
Run ReCI Build Test / Explore-Gitea-Actions (push) Failing after 1m34s
This commit is contained in:
10
main.cpp
10
main.cpp
@@ -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);
|
||||
|
Reference in New Issue
Block a user