1
0
Fork 0

source/Window/GLWindow.cpp: use PlatformApplication::createGLContext() instead of GLContext::create()

This commit is contained in:
Henrik Hautakoski 2023-08-23 19:43:59 +02:00
parent b300310239
commit f35658a971

View file

@ -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()