Commit 2e9fa34d authored by Maarten Lankhorst's avatar Maarten Lankhorst Committed by Alexandre Julliard

dsound: IDirectSound_Compact should return DS_OK on priolevel >= DSSCL_PRIORITY.

parent 2fb8c8aa
......@@ -1707,7 +1707,7 @@ HRESULT DirectSoundDevice_Compact(
return DSERR_UNINITIALIZED;
}
if (device->priolevel != DSSCL_PRIORITY) {
if (device->priolevel < DSSCL_PRIORITY) {
WARN("incorrect priority level\n");
return DSERR_PRIOLEVELNEEDED;
}
......
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