Make all client API functions dynamically loaded

This commit is contained in:
Camilla Berglund
2015-08-12 00:59:26 +02:00
parent 84b512c62c
commit 6b8d490249
4 changed files with 24 additions and 9 deletions
+1 -1
View File
@@ -202,7 +202,7 @@ GLFWAPI GLFWwindow* glfwCreateWindow(int width, int height,
// Clearing the front buffer to black to avoid garbage pixels left over
// from previous uses of our bit of VRAM
glClear(GL_COLOR_BUFFER_BIT);
window->Clear(GL_COLOR_BUFFER_BIT);
_glfwPlatformSwapBuffers(window);
// Restore the previously current context (or NULL)