1
0
Fork 0

Platform/PlatformApplication: add createGLContext()

This commit is contained in:
Henrik Hautakoski 2023-08-23 19:43:22 +02:00
parent b1ccea1397
commit b300310239
5 changed files with 19 additions and 0 deletions

View file

@ -8,6 +8,7 @@
namespace sp {
class Window;
class GLContext;
class PlatformWindow;
class PlatformInput;
@ -24,6 +25,8 @@ public :
virtual PlatformWindow* createWindow(Window* window) = 0;
virtual GLContext* createGLContext() = 0;
virtual PlatformInput& getInput() = 0;
MessageQueue& getMessageQueue();