Fixed return type for _glfwPlatformMakeWindowCurrent.

master
Camilla Berglund ago%!(EXTRA string=15 years)
parent 819d0446b1
commit 1bac99625d
  1. 2
      src/internal.h
  2. 2
      src/x11/x11_window.c

@ -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);

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

Loading…
Cancel
Save