Platform/PlatformApplication: add createGLContext()
This commit is contained in:
parent
b1ccea1397
commit
b300310239
5 changed files with 19 additions and 0 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue