Patched to compile.

This commit is contained in:
Ryan C. Gordon 2011-08-04 19:33:45 -04:00
parent e42ca42e76
commit 67740a37fa

View file

@ -505,7 +505,7 @@ DSOUND_OpenDevice(_THIS, const char *devname, int iscapture)
}
/* 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;