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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2013-07-04 15:28:52 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2013-07-04 15:28:52 +0400
commit1c01ad53d571f3942d231068404568a75f646266 (patch)
treeaf27c70435109f0c13d9b40e791cc107823a1824 /source/creator
parent69b8b1646472de56b588f16efee8ba38a73bab24 (diff)
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.
Diffstat (limited to 'source/creator')
-rw-r--r--source/creator/creator.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source/creator/creator.c b/source/creator/creator.c
index 84d23530800..4dea09ee433 100644
--- a/source/creator/creator.c
+++ b/source/creator/creator.c
@@ -1584,10 +1584,6 @@ int main(int argc, const char **argv)
/* 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