From 84a4596eef3cdc2987b1c891f4decd7229490ae9 Mon Sep 17 00:00:00 2001 From: rti Date: Tue, 23 Nov 2010 13:08:13 +0100 Subject: [PATCH] Fixed: Mac OS X compilation of GL driver --- code/nel/src/3d/driver/opengl/mac/cocoa_opengl_view.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/nel/src/3d/driver/opengl/mac/cocoa_opengl_view.m b/code/nel/src/3d/driver/opengl/mac/cocoa_opengl_view.m index 9bcec1714..8ad1f91d4 100644 --- a/code/nel/src/3d/driver/opengl/mac/cocoa_opengl_view.m +++ b/code/nel/src/3d/driver/opengl/mac/cocoa_opengl_view.m @@ -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; } }