Commit db98ffdd authored by Ove Kaaven's avatar Ove Kaaven Committed by Alexandre Julliard

Don't ignore application-requested primary buffer flags.

parent d2ca108b
......@@ -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 */
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment