Fixed: Mac OS X compilation of GL driver

This commit is contained in:
rti 2010-11-23 13:08:13 +01:00
parent bd34f12bf5
commit 84a4596eef

View file

@ -23,8 +23,8 @@ namespace NL3D
void viewDidResize(NSView* view, CDriverGL* driver)
{
NSRect rect = [[view superview] frame];
driver->_WindowWidth = rect.size.width;
driver->_WindowHeight = rect.size.height;
driver->_CurrentMode.Height = rect.size.height;
driver->_CurrentMode.Width = rect.size.width;
}
}