added printing of error message when initializing sound, fixed font spacing the millionth time
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
@@ -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
Reference in New Issue
Block a user