From 11aab2ba3e6e4da525345c1c973f1a120cc9eda8 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Mon, 4 Oct 2010 18:22:22 +0200 Subject: [PATCH 1/2] Removed executable flags on source files. --- src/win32/platform.h | 0 src/win32/win32_window.c | 0 2 files changed, 0 insertions(+), 0 deletions(-) mode change 100755 => 100644 src/win32/platform.h mode change 100755 => 100644 src/win32/win32_window.c diff --git a/src/win32/platform.h b/src/win32/platform.h old mode 100755 new mode 100644 diff --git a/src/win32/win32_window.c b/src/win32/win32_window.c old mode 100755 new mode 100644 From 82056cd49447bd4dacda5bde1cd0978f14cf67d2 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Mon, 4 Oct 2010 18:26:34 +0200 Subject: [PATCH 2/2] Fixed incorrect return type. --- src/win32/win32_window.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) mode change 100644 => 100755 src/win32/win32_window.c diff --git a/src/win32/win32_window.c b/src/win32/win32_window.c old mode 100644 new mode 100755 index a2304929..194d128d --- a/src/win32/win32_window.c +++ b/src/win32/win32_window.c @@ -311,9 +311,9 @@ static _GLFWfbconfig* getFBConfigs(_GLFWwindow* window, unsigned int* found) // Creates an OpenGL context on the specified device context //======================================================================== -static HGLRC createContext(_GLFWwindow* window, - const _GLFWwndconfig* wndconfig, - int pixelFormat) +static GLboolean createContext(_GLFWwindow* window, + const _GLFWwndconfig* wndconfig, + int pixelFormat) { PIXELFORMATDESCRIPTOR pfd; int flags, i = 0, attribs[7];