source/Window/Window.cpp: call PlatformApplication::createWindow() instead of PlatformWindow::make()
This commit is contained in:
parent
a8f65e54ac
commit
f5db354aec
1 changed files with 2 additions and 1 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue