This commit is contained in:
Camilla Berglund 2012-05-07 00:13:38 +02:00
Родитель 26fc5cacda
Коммит d717c0a5ba
2 изменённых файлов: 7 добавлений и 0 удалений

Просмотреть файл

@ -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: 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: A test was missing for whether all available pixel formats had been disqualified</li>
</ul>
<h3>v2.7</h3>

Просмотреть файл

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