1
0
Fork 0
spectre/source/Display/GLContext.cpp
2016-01-10 09:26:43 +01:00

19 lines
302 B
C++

#include <Spectre/Display/GLContext.h>
#ifdef _WIN32
#include <Platform/Win32/Win32GLContext.h>
typedef Win32GLContext ContextType;
#else
#error "No GLContext implementation exists"
#endif
GLContext* GLContext::create()
{
return new ContextType();
}
GLContext::~GLContext()
{
// Nothing to do.
}