From 6b0320a7f2eeeccf2c88e89efd66f37cf73d457a Mon Sep 17 00:00:00 2001 From: rti Date: Wed, 4 Aug 2010 22:58:14 +0200 Subject: [PATCH] Fixed: #1053 screen mode retrieval only in cocoa mode --- code/nel/src/3d/driver/opengl/driver_opengl_window.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/nel/src/3d/driver/opengl/driver_opengl_window.cpp b/code/nel/src/3d/driver/opengl/driver_opengl_window.cpp index 69d88c17c..b54fd9083 100644 --- a/code/nel/src/3d/driver/opengl/driver_opengl_window.cpp +++ b/code/nel/src/3d/driver/opengl/driver_opengl_window.cpp @@ -1580,7 +1580,9 @@ bool CDriverGL::getModes(std::vector &modes) // Mode index modeIndex++; } -#elif defined(NL_OS_MAC) + +#elif defined(NL_OS_MAC) && defined(NL_MAC_NATIVE) + NL3D::MAC::getModes(modes); #elif defined (NL_OS_UNIX)