Patched to compile.
authorRyan C. Gordon <icculus@icculus.org>
Thu, 04 Aug 2011 19:33:45 -0400
changeset 5600 e23e7d836b8c
parent 5598 4d05ee9088b1
child 5601 76cf18e667d1
Patched to compile.
src/audio/directsound/SDL_directsound.c
--- a/src/audio/directsound/SDL_directsound.c	Thu Aug 04 01:36:23 2011 -0400
+++ b/src/audio/directsound/SDL_directsound.c	Thu Aug 04 19:33:45 2011 -0400
@@ -505,7 +505,7 @@
     }
 
     /* Create the audio buffer to which we write */
-    this->hidden->num_buffers = CreateSecondary(this, mainwin, &waveformat);
+    this->hidden->num_buffers = CreateSecondary(this, NULL, &waveformat);
     if (this->hidden->num_buffers < 0) {
         DSOUND_CloseDevice(this);
         return 0;