Moved OpenGL init and terminate to opengl module.

This commit is contained in:
Camilla Berglund
2012-04-23 13:00:49 +02:00
parent 49dfbe86b2
commit 9614b9b22f
3 changed files with 74 additions and 54 deletions
+2
View File
@@ -283,6 +283,8 @@ GLFWGLOBAL struct {
void _glfwInitTimer(void);
// OpenGL support
int _glfwInitOpenGL(void);
void _glfwTerminateOpenGL(void);
int _glfwCreateContext(_GLFWwindow* window,
const _GLFWwndconfig* wndconfig,
const _GLFWfbconfig* fbconfig);