Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitchell Stokes <mogurijin@gmail.com>2013-08-30 02:48:37 +0400
committerMitchell Stokes <mogurijin@gmail.com>2013-08-30 02:48:37 +0400
commit07e655dfa60b0ed524d21b777ffbb14464b18dd9 (patch)
tree6f4768ceb75d92421a90ebc55a707434e3909ff3
parentd4eeca430d4c7c540f55b2275de472389478c467 (diff)
Cleaning up some prints related to SDL.
-rw-r--r--intern/ghost/intern/GHOST_DisplayManagerSDL.cpp2
-rw-r--r--intern/ghost/intern/GHOST_SystemSDL.cpp2
-rw-r--r--source/gameengine/GameLogic/Joystick/SCA_JoystickEvents.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/intern/ghost/intern/GHOST_DisplayManagerSDL.cpp b/intern/ghost/intern/GHOST_DisplayManagerSDL.cpp
index 0d077ebc204..fa92adf87f0 100644
--- a/intern/ghost/intern/GHOST_DisplayManagerSDL.cpp
+++ b/intern/ghost/intern/GHOST_DisplayManagerSDL.cpp
@@ -178,7 +178,7 @@ GHOST_DisplayManagerSDL:: setCurrentDisplaySetting(GHOST_TUns8 display,
else {
/* this is a problem for the BGE player :S, perhaps SDL2 will resolve at some point.
* we really need SDL_SetDisplayModeForDisplay() to become an API func! - campbell */
- printf("no windows available, cant fullscreen");
+ printf("no windows available, cant fullscreen\n");
/* do not fail, we will try again later when the window is created - wander */
return GHOST_kSuccess;
diff --git a/intern/ghost/intern/GHOST_SystemSDL.cpp b/intern/ghost/intern/GHOST_SystemSDL.cpp
index 98d52c20ba1..48ea3afd5e1 100644
--- a/intern/ghost/intern/GHOST_SystemSDL.cpp
+++ b/intern/ghost/intern/GHOST_SystemSDL.cpp
@@ -532,7 +532,7 @@ GHOST_SystemSDL::generateWindowExposeEvents()
(*w_start)->validate();
if (g_event) {
- printf("Expose events pushed\n");
+ //printf("Expose events pushed\n");
pushEvent(g_event);
anyProcessed = true;
}
diff --git a/source/gameengine/GameLogic/Joystick/SCA_JoystickEvents.cpp b/source/gameengine/GameLogic/Joystick/SCA_JoystickEvents.cpp
index f50137cfcf6..2911b3b1a14 100644
--- a/source/gameengine/GameLogic/Joystick/SCA_JoystickEvents.cpp
+++ b/source/gameengine/GameLogic/Joystick/SCA_JoystickEvents.cpp
@@ -118,7 +118,7 @@ void SCA_Joystick::HandleEvents(void)
break;
#endif
default:
- printf("SCA_Joystick::HandleEvents, Unknown SDL event, this should not happen\n");
+ printf("SCA_Joystick::HandleEvents, Unknown SDL event (%d), this should not happen\n", sdl_event.type);
break;
}
}