Fixed: #1053 screen mode retrieval only in cocoa mode

This commit is contained in:
rti 2010-08-04 22:58:14 +02:00
parent cc47fd2531
commit 6b0320a7f2

View file

@ -1580,7 +1580,9 @@ bool CDriverGL::getModes(std::vector<GfxMode> &modes)
// Mode index // Mode index
modeIndex++; modeIndex++;
} }
#elif defined(NL_OS_MAC)
#elif defined(NL_OS_MAC) && defined(NL_MAC_NATIVE)
NL3D::MAC::getModes(modes); NL3D::MAC::getModes(modes);
#elif defined (NL_OS_UNIX) #elif defined (NL_OS_UNIX)