pulling in some simple code fixes suggested towards XCode 4.2 support

This commit is contained in:
Timothee 'TTimo' Besset
2011-12-10 18:27:30 -06:00
parent f1f80640fb
commit 7db8be7917
7 changed files with 11 additions and 13 deletions

View File

@@ -164,7 +164,7 @@ void ListSounds_f( const idCmdArgs &args ) {
common->Printf( "%8d total samples loaded\n", totalSamples );
common->Printf( "%8d kB total system memory used\n", totalMemory >> 10 );
#if ID_OPENAL
common->Printf( "%8d kB total OpenAL audio memory used\n", ( alGetInteger( alGetEnumValue( (ALubyte*)"AL_EAX_RAM_SIZE" ) ) - alGetInteger( alGetEnumValue( (ALubyte*)"AL_EAX_RAM_FREE" ) ) ) >> 10 );
common->Printf( "%8d kB total OpenAL audio memory used\n", ( alGetInteger( alGetEnumValue( "AL_EAX_RAM_SIZE" ) ) - alGetInteger( alGetEnumValue( "AL_EAX_RAM_FREE" ) ) ) >> 10 );
#endif
}