Fixed incomplete function renaming.

This commit is contained in:
Camilla Berglund 2013-02-04 08:26:17 +01:00
parent 954d6383ee
commit 107e20233d
3 changed files with 6 additions and 6 deletions

View File

@ -153,7 +153,7 @@ static void initWGLExtensions(_GLFWwindow* window)
// Initialize WGL
//========================================================================
int _glfwInitOpenGL(void)
int _glfwInitContextAPI(void)
{
return GL_TRUE;
}
@ -163,7 +163,7 @@ int _glfwInitOpenGL(void)
// Terminate WGL
//========================================================================
void _glfwTerminateOpenGL(void)
void _glfwTerminateContextAPI(void)
{
}

View File

@ -184,7 +184,7 @@ int _glfwPlatformInit(void)
_glfwPlatformGetGammaRamp(&_glfw.originalRamp);
_glfw.currentRamp = _glfw.originalRamp;
if (!_glfwInitOpenGL())
if (!_glfwInitContextAPI())
return GL_FALSE;
_glfwInitTimer();
@ -206,7 +206,7 @@ void _glfwPlatformTerminate(void)
_glfw.win32.classAtom = 0;
}
_glfwTerminateOpenGL();
_glfwTerminateContextAPI();
_glfwTerminateJoysticks();

View File

@ -213,8 +213,8 @@ void _glfwInitJoysticks(void);
void _glfwTerminateJoysticks(void);
// OpenGL support
int _glfwInitOpenGL(void);
void _glfwTerminateOpenGL(void);
int _glfwInitContextAPI(void);
void _glfwTerminateContextAPI(void);
int _glfwCreateContext(_GLFWwindow* window,
const _GLFWwndconfig* wndconfig,
const _GLFWfbconfig* fbconfig);