From 9e3db2029d765c5e14845729d4da93e9385bb208 Mon Sep 17 00:00:00 2001 From: kervala Date: Mon, 9 Nov 2015 12:47:24 +0100 Subject: [PATCH] Merge with develop --- code/nel/src/3d/driver/opengl/stdopengl.h | 2 +- code/ryzom/client/src/client.cpp | 5 +++++ code/ryzom/client/src/misc.cpp | 24 +++++++++++++++++++---- 3 files changed, 26 insertions(+), 5 deletions(-) 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