diff --git a/code/ryzom/client/src/init.cpp b/code/ryzom/client/src/init.cpp index e839a57c3..c722a62b4 100644 --- a/code/ryzom/client/src/init.cpp +++ b/code/ryzom/client/src/init.cpp @@ -1039,11 +1039,13 @@ void prelogInit() switch(ClientCfg.Driver3D) { #ifdef NL_OS_WINDOWS + case CClientConfig::DrvAuto: case CClientConfig::Direct3D: driver = UDriver::Direct3d; break; -#endif // NL_OS_WINDOWS +#else case CClientConfig::DrvAuto: +#endif // NL_OS_WINDOWS case CClientConfig::OpenGL: driver = UDriver::OpenGl; break;