From f35658a971a1b52da577abdc2744fed38c6968f6 Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Wed, 23 Aug 2023 19:43:59 +0200 Subject: [PATCH] source/Window/GLWindow.cpp: use PlatformApplication::createGLContext() instead of GLContext::create() --- source/Window/GLWindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/Window/GLWindow.cpp b/source/Window/GLWindow.cpp index b299440..9b6ef32 100644 --- a/source/Window/GLWindow.cpp +++ b/source/Window/GLWindow.cpp @@ -1,5 +1,5 @@ -#include +#include #include #include @@ -7,7 +7,7 @@ namespace sp { GLWindow::GLWindow() { - m_context = GLContext::create(); + m_context = PlatformApplication::get()->createGLContext(); } GLWindow::~GLWindow()