This commit is contained in:
timon 2010-11-23 17:11:34 +02:00
commit 155ea28842
2 changed files with 6 additions and 4 deletions

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;
}
}

View file

@ -1,8 +1,10 @@
ADD_SUBDIRECTORY(land_export)
ADD_SUBDIRECTORY(land_export_lib)
IF(WITH_MFC)
ADD_SUBDIRECTORY(world_editor)
ADD_SUBDIRECTORY(world_editor_primitive_plugin)
ENDIF(WITH_MFC)
# This is an old plugin and is deprecated. It doesn't even compile anymore.
#ADD_SUBDIRECTORY(world_editor_plugin)