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