diff --git a/code/nel/src/3d/driver/opengl/stdopengl.h b/code/nel/src/3d/driver/opengl/stdopengl.h index 2167324f0..3066a778a 100644 --- a/code/nel/src/3d/driver/opengl/stdopengl.h +++ b/code/nel/src/3d/driver/opengl/stdopengl.h @@ -101,9 +101,9 @@ #include "nel/3d/index_buffer.h" #ifdef NL_OS_MAC +#include #if defined(MAC_OS_X_VERSION_10_6) && MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_6 #define NL_MAC_VERSION_10_6_UP -#else #endif #endif diff --git a/code/ryzom/client/src/client.cpp b/code/ryzom/client/src/client.cpp index 1ec2b0643..be7cf1647 100644 --- a/code/ryzom/client/src/client.cpp +++ b/code/ryzom/client/src/client.cpp @@ -366,6 +366,11 @@ int main(int argc, char **argv) // init the Nel context CApplicationContext *appContext = new CApplicationContext; + // disable nldebug messages in logs in Release +#ifdef NL_RELEASE + DisableNLDebug = true; +#endif + createDebug(); INelContext::getInstance().setWindowedApplication(true); diff --git a/code/ryzom/client/src/misc.cpp b/code/ryzom/client/src/misc.cpp index 775e9cc41..bb3625c4b 100644 --- a/code/ryzom/client/src/misc.cpp +++ b/code/ryzom/client/src/misc.cpp @@ -1477,14 +1477,30 @@ bool getRyzomModes(std::vector &videoModes, std::vector