Fixed incorrect return type.

This commit is contained in:
Camilla Berglund 2010-10-04 18:26:34 +02:00
parent 11aab2ba3e
commit 82056cd494

6
src/win32/win32_window.c Normal file → Executable file
View File

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