cmake build system + OS X support / cleanups for Humble Release #8
|
@ -469,8 +469,9 @@ struct GraphicsPrivate
|
||||||
{
|
{
|
||||||
if (threadData->windowSizeMsg.pollChange(&winSize.x, &winSize.y))
|
if (threadData->windowSizeMsg.pollChange(&winSize.x, &winSize.y))
|
||||||
{
|
{
|
||||||
|
glState.viewport.init(IntRect(0, 0, winSize.x, winSize.y));
|
||||||
recalculateScreenSize();
|
recalculateScreenSize();
|
||||||
screen.setScreenSize(scSize.x, scSize.y);
|
screen.setScreenSize(winSize.x, winSize.y);
|
||||||
updateScreenResoRatio();
|
updateScreenResoRatio();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue