- removed somes values not used
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8378 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: 482325b9d362309e2cd287d7ad7498ad287fd9d6 Former-commit-id: 086ef7499e1ff42aa30e5cbd0374cc9b5b881dfa
This commit is contained in:
parent
28618f278b
commit
7f65fb1ebf
2 changed files with 3 additions and 3 deletions
|
@ -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),
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue