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) {