dsound/tests: Removed test depending on value of undefined variable.
This commit is contained in:
parent
e24e7e7852
commit
d776828857
|
@ -407,12 +407,6 @@ static HRESULT test_primary(LPGUID lpGuid)
|
||||||
"IDirectSound_CreateSoundBuffer() should have failed: rc=%s,"
|
"IDirectSound_CreateSoundBuffer() should have failed: rc=%s,"
|
||||||
"dsbo=%p\n",DXGetErrorString8(rc),primary);
|
"dsbo=%p\n",DXGetErrorString8(rc),primary);
|
||||||
|
|
||||||
/* DSOUND: Error: Invalid buffer description pointer */
|
|
||||||
rc=IDirectSound_CreateSoundBuffer(dso,&bufdesc,0,NULL);
|
|
||||||
ok(rc==DSERR_INVALIDPARAM && primary==0,
|
|
||||||
"IDirectSound_CreateSoundBuffer() should have failed: rc=%s,"
|
|
||||||
"dsbo=0x%p\n",DXGetErrorString8(rc),primary);
|
|
||||||
|
|
||||||
ZeroMemory(&bufdesc, sizeof(bufdesc));
|
ZeroMemory(&bufdesc, sizeof(bufdesc));
|
||||||
|
|
||||||
/* DSOUND: Error: Invalid size */
|
/* DSOUND: Error: Invalid size */
|
||||||
|
|
Loading…
Reference in New Issue