mirror of
https://github.com/glfw/glfw.git
synced 2024-11-10 09:01:46 +00:00
Fixed return type for _glfwPlatformMakeWindowCurrent.
This commit is contained in:
parent
819d0446b1
commit
1bac99625d
@ -256,7 +256,7 @@ void _glfwPlatformSetTime(double time);
|
|||||||
|
|
||||||
// Window management
|
// Window management
|
||||||
int _glfwPlatformOpenWindow(_GLFWwindow* window, const _GLFWwndconfig* wndconfig, const _GLFWfbconfig* fbconfig);
|
int _glfwPlatformOpenWindow(_GLFWwindow* window, const _GLFWwndconfig* wndconfig, const _GLFWfbconfig* fbconfig);
|
||||||
int _glfwPlatformMakeWindowCurrent(_GLFWwindow* window);
|
void _glfwPlatformMakeWindowCurrent(_GLFWwindow* window);
|
||||||
void _glfwPlatformCloseWindow(_GLFWwindow* window);
|
void _glfwPlatformCloseWindow(_GLFWwindow* window);
|
||||||
void _glfwPlatformSetWindowTitle(_GLFWwindow* window, const char* title);
|
void _glfwPlatformSetWindowTitle(_GLFWwindow* window, const char* title);
|
||||||
void _glfwPlatformSetWindowSize(_GLFWwindow* window, int width, int height);
|
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
|
// Make the OpenGL context associated with the specified window current
|
||||||
//========================================================================
|
//========================================================================
|
||||||
|
|
||||||
int _glfwPlatformMakeWindowCurrent(_GLFWwindow* window)
|
void _glfwPlatformMakeWindowCurrent(_GLFWwindow* window)
|
||||||
{
|
{
|
||||||
if (window)
|
if (window)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user