Don't ignore application-requested primary buffer flags.

This commit is contained in:
Ove Kaaven 1999-06-12 06:45:56 +00:00 committed by Alexandre Julliard
parent d2ca108b34
commit db98ffdd8e
1 changed files with 1 additions and 0 deletions

View File

@ -1327,6 +1327,7 @@ static HRESULT WINAPI IDirectSoundImpl_CreateSoundBuffer(
if (primarybuf) {
IDirectSoundBuffer_AddRef((LPDIRECTSOUNDBUFFER)primarybuf);
*ippdsb = primarybuf;
primarybuf->dsbd.dwFlags = dsbd->dwFlags;
return DS_OK;
} /* Else create primarybuf */
}