1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-23 10:48:51 -05:00

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 // Initialize WGL
//======================================================================== //========================================================================
int _glfwInitOpenGL(void) int _glfwInitContextAPI(void)
{ {
return GL_TRUE; return GL_TRUE;
} }
@ -163,7 +163,7 @@ int _glfwInitOpenGL(void)
// Terminate WGL // Terminate WGL
//======================================================================== //========================================================================
void _glfwTerminateOpenGL(void) void _glfwTerminateContextAPI(void)
{ {
} }

View File

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

View File

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