mirror of
https://github.com/glfw/glfw.git
synced 2024-11-23 02:25:10 +00:00
Fix copypaste mistake
This commit is contained in:
parent
7ab7d8b4b1
commit
925208d28f
@ -210,9 +210,9 @@ static void updateNormalHints(_GLFWwindow* window)
|
|||||||
if (window->resizable)
|
if (window->resizable)
|
||||||
{
|
{
|
||||||
if (window->minwidth != GLFW_DONT_CARE &&
|
if (window->minwidth != GLFW_DONT_CARE &&
|
||||||
window->minwidth != GLFW_DONT_CARE &&
|
window->minheight != GLFW_DONT_CARE &&
|
||||||
window->maxwidth != GLFW_DONT_CARE &&
|
window->maxwidth != GLFW_DONT_CARE &&
|
||||||
window->maxwidth != GLFW_DONT_CARE)
|
window->maxheight != GLFW_DONT_CARE)
|
||||||
{
|
{
|
||||||
hints->flags |= (PMinSize | PMaxSize);
|
hints->flags |= (PMinSize | PMaxSize);
|
||||||
hints->min_width = window->minwidth;
|
hints->min_width = window->minwidth;
|
||||||
|
Loading…
Reference in New Issue
Block a user