Added bug fix from 2.7.6.

master
Camilla Berglund ago%!(EXTRA string=13 years)
parent 26fc5cacda
commit d717c0a5ba
  1. 1
      readme.html
  2. 6
      src/win32_window.c

@ -341,6 +341,7 @@ version of GLFW.</p>
<li>[Win32] Bugfix: The array for WGL context attributes was too small and could overflow</li> <li>[Win32] Bugfix: The array for WGL context attributes was too small and could overflow</li>
<li>[Win32] Bugfix: Alt+F4 hot key was not translated into <code>WM_CLOSE</code></li> <li>[Win32] Bugfix: Alt+F4 hot key was not translated into <code>WM_CLOSE</code></li>
<li>[Win32] Bugfix: The <code>GLFW_WINDOW_NO_RESIZE</code> window parameter was always zero</li> <li>[Win32] Bugfix: The <code>GLFW_WINDOW_NO_RESIZE</code> window parameter was always zero</li>
<li>[Win32] Bugfix: A test was missing for whether all available pixel formats had been disqualified</li>
</ul> </ul>
<h3>v2.7</h3> <h3>v2.7</h3>

@ -298,6 +298,12 @@ static _GLFWfbconfig* getFBConfigs(_GLFWwindow* window, unsigned int* found)
(*found)++; (*found)++;
} }
if (*found == 0)
{
free(fbconfigs);
return NULL;
}
return fbconfigs; return fbconfigs;
} }

Loading…
Cancel
Save