Platform/PlatformApplication: add createGLContext()
This commit is contained in:
parent
b1ccea1397
commit
b300310239
5 changed files with 19 additions and 0 deletions
|
|
@ -1,5 +1,6 @@
|
|||
|
||||
#include "Win32Window.h"
|
||||
#include "Win32GLContext.h"
|
||||
#include "Win32Application.h"
|
||||
|
||||
namespace sp {
|
||||
|
|
@ -17,6 +18,11 @@ PlatformWindow* Win32Application::createWindow(Window* window)
|
|||
return new Win32Window(window);
|
||||
}
|
||||
|
||||
GLContext* Win32Application::createGLContext()
|
||||
{
|
||||
return new Win32GLContext();
|
||||
}
|
||||
|
||||
PlatformInput& Win32Application::getInput()
|
||||
{
|
||||
return m_input;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue