mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-21 00:18:43 +00:00
Fixed: Mac OS X compilation of GL driver
This commit is contained in:
parent
f440215b5d
commit
431fc9a13e
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue