Implement GL context for windows platform

This commit is contained in:
Doug Johnson
2016-05-12 01:32:46 -06:00
parent ce10d9bd02
commit a63c9458cd
6 changed files with 810 additions and 8 deletions

View File

@@ -56,6 +56,7 @@ void GLContext::FatalGLError(std::string error) {
GLContext::GLContext(GraphicsProvider* provider, Window* target_window)
: GraphicsContext(provider, target_window) { }
GLContext::~GLContext() {}
void GLContext::AssertExtensionsPresent() {
if (!MakeCurrent()) {