added printing of error message when initializing sound, fixed font spacing the millionth time

This commit is contained in:
2010-11-15 22:49:35 +01:00
parent e981f68a9c
commit 652367b824
5 changed files with 2328 additions and 3 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ int SoundBase::OnInit(int argc, char* argv[]) {
LogDebug("Sound Init");
if (Mix_OpenAudio (audio_rate, audio_format, audio_channels, audio_buffers)) {
LogError ("Unable to initialize the sound system!");
LogError ("Unable to initialize the sound system! Error message: %s", SDL_GetError());
}
Mix_QuerySpec (&audio_rate, &audio_format, &audio_channels);
+2
View File
@@ -7,6 +7,8 @@ Set( CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/CMake )
FIND_PACKAGE( OpenGL REQUIRED )
FIND_PACKAGE( FreeType2 REQUIRED )
INCLUDE_DIRECTORIES (${PROJECT_SOURCE_DIR}/liboglft)
IF( ENABLE_QT )
FIND_PACKAGE( QT REQUIRED )
IF( DESIRED_QT_VERSION EQUAL 3 )
File diff suppressed because it is too large Load Diff