diff options
Diffstat (limited to 'source/creator/creator.c')
-rw-r--r-- | source/creator/creator.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/creator/creator.c b/source/creator/creator.c index e04a5b1db3d..f8bf7288143 100644 --- a/source/creator/creator.c +++ b/source/creator/creator.c @@ -545,8 +545,12 @@ int main(int argc, char **argv) _putenv_s("SDL_VIDEODRIVER", "dummy"); #endif #else +#ifdef __sgi + putenv("SDL_VIDEODRIVER=dummy"); +#else setenv("SDL_VIDEODRIVER", "dummy", 1); /* initializing the video driver can cause crashes on some systems - Campbell */ #endif +#endif #ifdef __linux__ /* On linux the default SDL driver dma often would not play * use alsa if none is set */ |