mirror of
https://github.com/glfw/glfw.git
synced 2024-11-22 21: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
|
// 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)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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();
|
||||||
|
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user