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:
-rw-r--r--source/creator/creator.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/creator/creator.c b/source/creator/creator.c
index 3f45117b91e..baf122f7484 100644
--- a/source/creator/creator.c
+++ b/source/creator/creator.c
@@ -275,7 +275,9 @@ int main(int argc, char **argv)
#ifdef __alpha__
signal (SIGFPE, fpe_handler);
#else
- setenv("SDL_AUDIODRIVER", "dma", 1);
+ if ( getenv("SDL_AUDIODRIVER") == NULL) {
+ setenv("SDL_AUDIODRIVER", "dma", 1);
+ }
#endif
#endif
#if defined(__sgi)