From 1bac99625d3c1fe43e10b349a9ebbdb44996c6e8 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Mon, 13 Sep 2010 23:47:43 +0200 Subject: [PATCH] Fixed return type for _glfwPlatformMakeWindowCurrent. --- src/internal.h | 2 +- src/x11/x11_window.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/internal.h b/src/internal.h index 72012b9e..7ef6d6a3 100644 --- a/src/internal.h +++ b/src/internal.h @@ -256,7 +256,7 @@ void _glfwPlatformSetTime(double time); // Window management int _glfwPlatformOpenWindow(_GLFWwindow* window, const _GLFWwndconfig* wndconfig, const _GLFWfbconfig* fbconfig); -int _glfwPlatformMakeWindowCurrent(_GLFWwindow* window); +void _glfwPlatformMakeWindowCurrent(_GLFWwindow* window); void _glfwPlatformCloseWindow(_GLFWwindow* window); void _glfwPlatformSetWindowTitle(_GLFWwindow* window, const char* title); void _glfwPlatformSetWindowSize(_GLFWwindow* window, int width, int height); diff --git a/src/x11/x11_window.c b/src/x11/x11_window.c index f816b2a0..ba0e59b9 100644 --- a/src/x11/x11_window.c +++ b/src/x11/x11_window.c @@ -1451,7 +1451,7 @@ int _glfwPlatformOpenWindow(_GLFWwindow* window, // Make the OpenGL context associated with the specified window current //======================================================================== -int _glfwPlatformMakeWindowCurrent(_GLFWwindow* window) +void _glfwPlatformMakeWindowCurrent(_GLFWwindow* window) { if (window) {