[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [59648] trunk/blender: Cleaning up some prints related to SDL.
Mitchell Stokes
mogurijin at gmail.com
Fri Aug 30 00:48:37 CEST 2013
Revision: 59648
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=59648
Author: moguri
Date: 2013-08-29 22:48:37 +0000 (Thu, 29 Aug 2013)
Log Message:
-----------
Cleaning up some prints related to SDL.
Modified Paths:
--------------
trunk/blender/intern/ghost/intern/GHOST_DisplayManagerSDL.cpp
trunk/blender/intern/ghost/intern/GHOST_SystemSDL.cpp
trunk/blender/source/gameengine/GameLogic/Joystick/SCA_JoystickEvents.cpp
Modified: trunk/blender/intern/ghost/intern/GHOST_DisplayManagerSDL.cpp
===================================================================
--- trunk/blender/intern/ghost/intern/GHOST_DisplayManagerSDL.cpp 2013-08-29 22:48:31 UTC (rev 59647)
+++ trunk/blender/intern/ghost/intern/GHOST_DisplayManagerSDL.cpp 2013-08-29 22:48:37 UTC (rev 59648)
@@ -178,7 +178,7 @@
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;
Modified: trunk/blender/intern/ghost/intern/GHOST_SystemSDL.cpp
===================================================================
--- trunk/blender/intern/ghost/intern/GHOST_SystemSDL.cpp 2013-08-29 22:48:31 UTC (rev 59647)
+++ trunk/blender/intern/ghost/intern/GHOST_SystemSDL.cpp 2013-08-29 22:48:37 UTC (rev 59648)
@@ -532,7 +532,7 @@
(*w_start)->validate();
if (g_event) {
- printf("Expose events pushed\n");
+ //printf("Expose events pushed\n");
pushEvent(g_event);
anyProcessed = true;
}
Modified: trunk/blender/source/gameengine/GameLogic/Joystick/SCA_JoystickEvents.cpp
===================================================================
--- trunk/blender/source/gameengine/GameLogic/Joystick/SCA_JoystickEvents.cpp 2013-08-29 22:48:31 UTC (rev 59647)
+++ trunk/blender/source/gameengine/GameLogic/Joystick/SCA_JoystickEvents.cpp 2013-08-29 22:48:37 UTC (rev 59648)
@@ -118,7 +118,7 @@
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;
}
}
More information about the Bf-blender-cvs
mailing list