[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [57992] trunk/blender/source/creator/ creator.c: Remove SDL_VIDEODRIVER=dummy environment variable setting, this may interfere
Brecht Van Lommel
brechtvanlommel at pandora.be
Thu Jul 4 13:28:52 CEST 2013
Revision: 57992
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=57992
Author: blendix
Date: 2013-07-04 11:28:52 +0000 (Thu, 04 Jul 2013)
Log Message:
-----------
Remove SDL_VIDEODRIVER=dummy environment variable setting, this may interfere
with other applications launching SDL applications from Blender.
At the time this was added the game engine joystick code was unnecessarily
initializing the SDL video subsystem, and looking at the SDL source code that's
the only place this environment variable is read. That doesn't happen anymore,
though we do have WITH_GHOST_SDL now. But the environment variable is set after
GHOST has been initialized, otherwise this code would have actually broken that.
Modified Paths:
--------------
trunk/blender/source/creator/creator.c
Modified: trunk/blender/source/creator/creator.c
===================================================================
--- trunk/blender/source/creator/creator.c 2013-07-04 10:16:22 UTC (rev 57991)
+++ trunk/blender/source/creator/creator.c 2013-07-04 11:28:52 UTC (rev 57992)
@@ -1584,10 +1584,6 @@
/* this is properly initialized with user defs, but this is default */
/* call after loading the startup.blend so we can read U.tempdir */
BLI_init_temporary_dir(U.tempdir);
-
-#ifdef WITH_SDL
- BLI_setenv("SDL_VIDEODRIVER", "dummy");
-#endif
}
else {
#ifndef WITH_PYTHON_MODULE
More information about the Bf-blender-cvs
mailing list