mirror of
https://github.com/glfw/glfw.git
synced 2026-09-22 08:50:15 +00:00
Fixed incorrect return type.
This commit is contained in:
Regular → Executable
+3
-3
@@ -311,9 +311,9 @@ static _GLFWfbconfig* getFBConfigs(_GLFWwindow* window, unsigned int* found)
|
|||||||
// Creates an OpenGL context on the specified device context
|
// Creates an OpenGL context on the specified device context
|
||||||
//========================================================================
|
//========================================================================
|
||||||
|
|
||||||
static HGLRC createContext(_GLFWwindow* window,
|
static GLboolean createContext(_GLFWwindow* window,
|
||||||
const _GLFWwndconfig* wndconfig,
|
const _GLFWwndconfig* wndconfig,
|
||||||
int pixelFormat)
|
int pixelFormat)
|
||||||
{
|
{
|
||||||
PIXELFORMATDESCRIPTOR pfd;
|
PIXELFORMATDESCRIPTOR pfd;
|
||||||
int flags, i = 0, attribs[7];
|
int flags, i = 0, attribs[7];
|
||||||
|
|||||||
Reference in New Issue
Block a user