Fixed return type for _glfwPlatformMakeWindowCurrent.

This commit is contained in:
Camilla Berglund 2010-09-13 23:47:43 +02:00
parent 819d0446b1
commit 1bac99625d
2 changed files with 2 additions and 2 deletions

View File

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

View File

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