mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-26 20:28:49 -05:00
Added bug fix from 2.7.6.
This commit is contained in:
parent
26fc5cacda
commit
d717c0a5ba
|
@ -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…
Reference in New Issue
Block a user