Fixed broken migration
This commit is contained in:
@@ -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(
|
||||
|
10
main.cpp
10
main.cpp
@@ -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())
|
||||
|
@@ -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>
|
||||
|
Reference in New Issue
Block a user