From 1d119141925811057dd7eb2b90be34834487c4fd Mon Sep 17 00:00:00 2001 From: kervala Date: Mon, 9 Nov 2015 12:45:34 +0100 Subject: [PATCH 1/3] Fixed: Include AvailabilityMacros.h before using macro MAC_OS_X_VERSION_10_6 --HG-- branch : develop --- code/nel/src/3d/driver/opengl/stdopengl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From e8b0ae3f81cb31bacd302f6f1bd3e331566350d3 Mon Sep 17 00:00:00 2001 From: kervala Date: Mon, 9 Nov 2015 12:46:02 +0100 Subject: [PATCH 2/3] Changed: Don't log nldebug in Release --HG-- branch : develop --- code/ryzom/client/src/client.cpp | 5 +++++ 1 file changed, 5 insertions(+) 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); From 72580543506d8257ff8de2b12daf5172f7bf0a4f Mon Sep 17 00:00:00 2001 From: kervala Date: Mon, 9 Nov 2015 12:46:55 +0100 Subject: [PATCH 3/3] Fixed: Don't put same twice frequencies in list --HG-- branch : develop --- code/ryzom/client/src/misc.cpp | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) 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