work on utils

This commit is contained in:
2025-03-21 13:38:31 -05:00
parent 719af8e85a
commit 7900def444
11 changed files with 113 additions and 76 deletions

View File

@@ -4,15 +4,9 @@ WindowModule::WindowModule(void* h, App& a) : Module(h, a) {
name = "Window";
}
WindowModule::~WindowModule() {
delete window;
delete renderer;
}
WindowModule::~WindowModule() {}
void WindowModule::onLoad() {
window = new Window();
renderer = new Renderer();
}
void WindowModule::onLoad() {}
void WindowModule::run() {

View File

@@ -1,5 +1,5 @@
#include "Archimedes.h"
#include "WindowImpl/GLFW/windowGLFW.h"
#include "Window/Window.h"
#include "Renderer/Renderer.h"
class WindowModule : public Module {
@@ -15,9 +15,7 @@ class WindowModule : public Module {
private:
Window* window;
Renderer* renderer;
Archimedes::Window window;
};