From 293a546febeddf8c1c691813b1ec6c215c261874 Mon Sep 17 00:00:00 2001 From: kervala Date: Thu, 24 May 2012 20:28:19 +0200 Subject: [PATCH] Fixed: Compilation under Mac OS X without -DWITH_STATIC_DRIVERS=ON --- code/nel/src/3d/driver/opengl/mac/cocoa_application_delegate.h | 2 ++ code/nel/src/3d/driver/opengl/mac/cocoa_opengl_view.h | 2 ++ code/nel/src/3d/driver/opengl/mac/cocoa_window_delegate.h | 2 ++ 3 files changed, 6 insertions(+) diff --git a/code/nel/src/3d/driver/opengl/mac/cocoa_application_delegate.h b/code/nel/src/3d/driver/opengl/mac/cocoa_application_delegate.h index 668e61a50..da033c7c1 100644 --- a/code/nel/src/3d/driver/opengl/mac/cocoa_application_delegate.h +++ b/code/nel/src/3d/driver/opengl/mac/cocoa_application_delegate.h @@ -22,6 +22,8 @@ using NL3D::NLDRIVERGLES::CDriverGL; #else using NL3D::NLDRIVERGL::CDriverGL; #endif +#else +using NL3D::CDriverGL; #endif @interface CocoaApplicationDelegate : NSObject diff --git a/code/nel/src/3d/driver/opengl/mac/cocoa_opengl_view.h b/code/nel/src/3d/driver/opengl/mac/cocoa_opengl_view.h index b2b123274..e8acae926 100644 --- a/code/nel/src/3d/driver/opengl/mac/cocoa_opengl_view.h +++ b/code/nel/src/3d/driver/opengl/mac/cocoa_opengl_view.h @@ -41,6 +41,8 @@ using NL3D::NLDRIVERGLES::CDriverGL; #else using NL3D::NLDRIVERGL::CDriverGL; #endif +#else +using NL3D::CDriverGL; #endif @interface CocoaOpenGLView : NSOpenGLView diff --git a/code/nel/src/3d/driver/opengl/mac/cocoa_window_delegate.h b/code/nel/src/3d/driver/opengl/mac/cocoa_window_delegate.h index d35b162d6..53078e95a 100644 --- a/code/nel/src/3d/driver/opengl/mac/cocoa_window_delegate.h +++ b/code/nel/src/3d/driver/opengl/mac/cocoa_window_delegate.h @@ -23,6 +23,8 @@ using NL3D::NLDRIVERGLES::CDriverGL; #else using NL3D::NLDRIVERGL::CDriverGL; #endif +#else +using NL3D::CDriverGL; #endif @interface CocoaWindowDelegate : NSObject