diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-04-25 16:58:07 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-04-25 16:58:07 +0400 |
commit | 5233069908265611bc542d370258b1ab96fddfb4 (patch) | |
tree | e699a79465652d80be3fd1aca2ee5e6bec1975ef /source/creator | |
parent | b991b32458cdccb19a203e7ba4ca6b5780aad6cb (diff) |
Running 2.48rc on my system segfaults when starting the game engine, only on the release, not for my own builds.
Setting the SDL video driver to dummy prevents the crash, this is recommended in the SDL docs if your not using the video driver.
Diffstat (limited to 'source/creator')
-rw-r--r-- | source/creator/creator.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/creator/creator.c b/source/creator/creator.c index 5c0ca9e07ff..7804eb7ad98 100644 --- a/source/creator/creator.c +++ b/source/creator/creator.c @@ -538,6 +538,7 @@ int main(int argc, char **argv) BLI_where_is_temp( btempdir, 1 ); /* call after loading the .B.blend so we can read U.tempdir */ #ifndef DISABLE_SDL + setenv("SDL_VIDEODRIVER", "dummy", 1); /* initializing the video driver can cause crashes on some systems - Campbell */ #ifdef __linux__ /* On linux the default SDL driver dma often would not play * use alsa if none is set */ |