Fixed broken migration

This commit is contained in:
2024-02-21 23:42:55 -05:00
parent d1d2493435
commit 868f52464e
3 changed files with 7 additions and 7 deletions

View File

@@ -26,7 +26,7 @@ CPMAddPackage(
CPMAddPackage(
NAME ReWindow
URL https://git.redacted.cc/Redacted/ReWindow/archive/vA0.2.16.zip
URL https://git.redacted.cc/Redacted/ReWindow/archive/vA0.2.17.zip
)
CPMAddPackage(

View File

@@ -53,7 +53,9 @@ class JGLDemoWindow : public ReWindow::RWindow
public:
LearnOpenGL::Shader shader;
JGLDemoWindow() : ReWindow::RWindow()
JGLDemoWindow() : ReWindow::RWindow() {}
JGLDemoWindow(const std::string& title, int width, int height) :
ReWindow::RWindow(title, width, height)
{
}
@@ -122,9 +124,9 @@ public:
int main(int argc, char** argv)
{
auto* window = new JGLDemoWindow();
window->init(RenderingAPI::OPENGL, "Window", 1280, 720, false);
auto* window = new JGLDemoWindow("JGL Demo Window", 1280, 720);
window->setRenderer(RenderingAPI::OPENGL);
window->Open();
window->initGL();
window->setResizable(true);
while (window->isAlive())

View File

@@ -4,9 +4,7 @@
#include <glad/glad.h>
#include <JGL/JGL.h>
#include <GL/glut.h>
#include <J3ML/LinearAlgebra/Transform2D.h>
#include <rewindow/types/window.h>
#include <freetype2/ft2build.h>
#include FT_FREETYPE_H
#include <JGL/Color3.h>