work on utils
This commit is contained in:
@@ -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() {
|
||||
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user