Don't link with DirectSoundCreate8 as this prevents running with older
versions of DirectX.
This commit is contained in:
parent
d6b6700e85
commit
9ee0586cfb
|
@ -794,7 +794,7 @@ static HRESULT test_for_driver8(LPGUID lpGuid)
|
||||||
int ref;
|
int ref;
|
||||||
|
|
||||||
/* Create the DirectSound object */
|
/* Create the DirectSound object */
|
||||||
rc=DirectSoundCreate8(lpGuid,&dso,NULL);
|
rc=pDirectSoundCreate8(lpGuid,&dso,NULL);
|
||||||
ok(rc==DS_OK||rc==DSERR_NODRIVER||rc==DSERR_ALLOCATED,
|
ok(rc==DS_OK||rc==DSERR_NODRIVER||rc==DSERR_ALLOCATED,
|
||||||
"DirectSoundCreate8() failed: %s\n",DXGetErrorString8(rc));
|
"DirectSoundCreate8() failed: %s\n",DXGetErrorString8(rc));
|
||||||
if (rc!=DS_OK)
|
if (rc!=DS_OK)
|
||||||
|
|
Loading…
Reference in New Issue