Skip to content
Snippets Groups Projects
Commit db98ffdd authored by Ove Kåven's avatar Ove Kåven Committed by Alexandre Julliard
Browse files

Don't ignore application-requested primary buffer flags.

parent d2ca108b
No related branches found
No related tags found
No related merge requests found
......@@ -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 */
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment