Spectre/Window/GLContext: remove static create() method.
This commit is contained in:
parent
f35658a971
commit
ea763a9f38
2 changed files with 0 additions and 18 deletions
|
|
@ -1,23 +1,7 @@
|
|||
|
||||
#include <Spectre/Window/GLContext.h>
|
||||
|
||||
#ifdef SPECTRE_PLATFORM_WIN
|
||||
#include <Platform/Win32/Win32GLContext.h>
|
||||
typedef sp::Win32GLContext ContextType;
|
||||
#elif SPECTRE_PLATFORM_UNIX
|
||||
#include <Platform/Unix/GLXContext.h>
|
||||
typedef sp::GLXContext ContextType;
|
||||
#else
|
||||
#error "No GLContext implementation exists"
|
||||
#endif
|
||||
|
||||
namespace sp {
|
||||
|
||||
GLContext* GLContext::create()
|
||||
{
|
||||
return new ContextType();
|
||||
}
|
||||
|
||||
GLContext::~GLContext()
|
||||
{
|
||||
// Nothing to do.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue