1
0
Fork 0

source/Window/Window.cpp: call PlatformApplication::createWindow() instead of PlatformWindow::make()

This commit is contained in:
Henrik Hautakoski 2023-08-23 15:07:51 +02:00
parent a8f65e54ac
commit f5db354aec

View file

@ -6,6 +6,7 @@
#include <Spectre/Window/Window.h>
#include <Spectre/Window/GLContext.h>
#include <Spectre/Graphics/Image.h>
#include <Platform/PlatformApplication.h>
#include <Platform/PlatformWindow.h>
#include <Graphics/GL/gl.h>
@ -21,7 +22,7 @@ Window::Window()
m_fmode = WINDOWED;
m_context = GLContext::create();
m_impl = PlatformWindow::make(this);
m_impl = PlatformApplication::get()->createWindow(this);
}
Window::~Window()