diff --git a/src/modules/graphic/osggraph/Render/OsgRender.cpp b/src/modules/graphic/osggraph/Render/OsgRender.cpp index 31a65ebfc..1ff49d6cb 100644 --- a/src/modules/graphic/osggraph/Render/OsgRender.cpp +++ b/src/modules/graphic/osggraph/Render/OsgRender.cpp @@ -69,8 +69,8 @@ static const char* QualityValues[] = { GR_ATT_AGR_LITTLE, GR_ATT_AGR_MEDIUM, GR_ static const int NbQualityValues = sizeof(QualityValues) / sizeof(QualityValues[0]); static const char* ShadersValues[] = { GR_ATT_AGR_NULL, GR_ATT_AGR_LITTLE, GR_ATT_AGR_MEDIUM, GR_ATT_AGR_FULL, GR_ATT_AGR_HIGH, GR_ATT_AGR_ULTRA }; static const int NbShadersValues = sizeof(ShadersValues) / sizeof(ShadersValues[0]); -static const int CloudsTextureIndices[TR_CLOUDS_FULL+1] = {1, 3, 5, 7, 8}; -static const int NCloudsTextureIndices = sizeof(CloudsTextureIndices) / sizeof(int); +//static const int CloudsTextureIndices[TR_CLOUDS_FULL+1] = {1, 3, 5, 7, 8}; +//static const int NCloudsTextureIndices = sizeof(CloudsTextureIndices) / sizeof(int); SDRender::SDRender(void) : m_Root(NULL), diff --git a/src/modules/sound/snddefault/OpenalSoundInterface.cpp b/src/modules/sound/snddefault/OpenalSoundInterface.cpp index f663b515a..2d149638c 100644 --- a/src/modules/sound/snddefault/OpenalSoundInterface.cpp +++ b/src/modules/sound/snddefault/OpenalSoundInterface.cpp @@ -104,7 +104,7 @@ OpenalSoundInterface::OpenalSoundInterface(float sampling_rate, int n_channels) OSI_MAX_SOURCES = sources; // Reserve three sources for music - OSI_MAX_SOURCES -= 3; + //OSI_MAX_SOURCES -= 3; OSI_MAX_STATIC_SOURCES = MAX(0, OSI_MAX_SOURCES - OSI_MIN_DYNAMIC_SOURCES);