mirror of
https://github.com/glfw/glfw.git
synced 2024-11-26 06:14:35 +00:00
Fixed incomplete function renaming.
This commit is contained in:
parent
954d6383ee
commit
107e20233d
@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -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();
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user