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