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 "X11Window.h"
|
||||
#include "GLXContext.h"
|
||||
#include "UnixApplication.h"
|
||||
#include "Xlib.h"
|
||||
|
||||
|
|
@ -20,6 +21,11 @@ PlatformWindow* UnixApplication::createWindow(Window* window)
|
|||
return new X11Window(window);
|
||||
}
|
||||
|
||||
GLContext* UnixApplication::createGLContext()
|
||||
{
|
||||
return new GLXContext();
|
||||
}
|
||||
|
||||
PlatformInput& UnixApplication::getInput()
|
||||
{
|
||||
return m_input;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue