Don't ignore application-requested primary buffer flags.
This commit is contained in:
parent
d2ca108b34
commit
db98ffdd8e
|
@ -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 */
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue