~diresu/blender/blender-command-port

« back to all changes in this revision

Viewing changes to source/creator/creator.c

  • Committer: Dietrich Bollmann
  • Date: 2009-04-26 06:25:14 UTC
  • mfrom: (184.1.520)
  • Revision ID: diresu@web.de-20090426062514-ly27wepl1t5d7p8s
Update to state of blender repository from 2009-04-26 revision 19927.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * $Id: creator.c 18638 2009-01-23 21:08:01Z campbellbarton $
 
2
 * $Id: creator.c 19927 2009-04-25 20:26:27Z jesterking $
3
3
 *
4
4
 * ***** BEGIN GPL LICENSE BLOCK *****
5
5
 *
587
587
                BLI_where_is_temp( btempdir, 1 ); /* call after loading the .B.blend so we can read U.tempdir */
588
588
 
589
589
#ifndef DISABLE_SDL
 
590
#ifndef WIN32
 
591
                setenv("SDL_VIDEODRIVER", "dummy", 1); /* initializing the video driver can cause crashes on some systems - Campbell */
 
592
#else
 
593
                _putenv_s("SDL_VIDEODRIVER", "dummy");
 
594
#endif
590
595
#ifdef __linux__
591
596
                /* On linux the default SDL driver dma often would not play
592
597
                 * use alsa if none is set */