Commit 9ee0586c authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

Don't link with DirectSoundCreate8 as this prevents running with older

versions of DirectX.
parent d6b6700e
...@@ -794,7 +794,7 @@ static HRESULT test_for_driver8(LPGUID lpGuid) ...@@ -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)
......
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