From 9b70cec954a6b3ebaa41c6badaef9cd4b4e60376 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Fri, 4 Mar 2011 21:53:34 +0100 Subject: [PATCH] Fixed bug #3093443. --- readme.html | 3 +++ src/win32/win32_window.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/readme.html b/readme.html index be5c40cb..23b86b7a 100644 --- a/readme.html +++ b/readme.html @@ -303,6 +303,7 @@ version of GLFW.

  • [Win32] Removed explicit support for versions of Windows older than Windows XP
  • [Win32] Bugfix: Window activation and iconification did not work as expected
  • [Win32] Bugfix: Software rasterizer pixel formats were not discarded by the WGL_ARB_pixel_format code path
  • +
  • [Win32] Bugfix: The array for WGL context attributes was too small and could overflow
  • v2.7

    @@ -897,6 +898,8 @@ their skills. Special thanks go out to:

  • TTK-Bandit, for submitting a number of input patches adding many missing keys to the Win32 and X11 ports
  • +
  • yuriks, for reporting a bug in Win32 context creation
  • +
  • All the unmentioned and anonymous contributors in the GLFW community, for bug reports, patches, feedback and encouragement
  • diff --git a/src/win32/win32_window.c b/src/win32/win32_window.c index b0862036..fd751da2 100644 --- a/src/win32/win32_window.c +++ b/src/win32/win32_window.c @@ -323,7 +323,7 @@ static GLboolean createContext(_GLFWwindow* window, int pixelFormat) { PIXELFORMATDESCRIPTOR pfd; - int i = 0, attribs[7]; + int i = 0, attribs[9]; HGLRC share = NULL; if (wndconfig->share)