From 107e20233db0d5e684369b52b14ab5bebd1f3d52 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Mon, 4 Feb 2013 08:26:17 +0100 Subject: [PATCH] Fixed incomplete function renaming. --- src/wgl_context.c | 4 ++-- src/win32_init.c | 4 ++-- src/win32_platform.h | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/wgl_context.c b/src/wgl_context.c index d00b51ea..c5b17a18 100644 --- a/src/wgl_context.c +++ b/src/wgl_context.c @@ -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) { } diff --git a/src/win32_init.c b/src/win32_init.c index 20dc65df..991ca44b 100644 --- a/src/win32_init.c +++ b/src/win32_init.c @@ -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(); diff --git a/src/win32_platform.h b/src/win32_platform.h index d7edf01b..98d8d11d 100644 --- a/src/win32_platform.h +++ b/src/win32_platform.h @@ -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);