source/Window/GLWindow.cpp: use PlatformApplication::createGLContext() instead of GLContext::create()
This commit is contained in:
parent
b300310239
commit
f35658a971
1 changed files with 2 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
#include <Spectre/Window/GLContext.h>
|
||||
#include <Platform/PlatformApplication.h>
|
||||
#include <Spectre/Window/GLWindow.h>
|
||||
#include <Graphics/GL/gl.h>
|
||||
|
||||
|
|
@ -7,7 +7,7 @@ namespace sp {
|
|||
|
||||
GLWindow::GLWindow()
|
||||
{
|
||||
m_context = GLContext::create();
|
||||
m_context = PlatformApplication::get()->createGLContext();
|
||||
}
|
||||
|
||||
GLWindow::~GLWindow()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue