Is this an acceptable fix? If so I'll fix the rest of the file.

Jakob Eriksson jakov at vmlinux.org
Thu Apr 14 13:57:58 CDT 2005


Broken as per:

http://test.winehq.org/data/200504141000/nt4_IDWASEMPTY/dsound:ds3d.txt
-------------- next part --------------
Index: dlls/dsound/tests/ds3d.c
===================================================================
RCS file: /home/wine/wine/dlls/dsound/tests/ds3d.c,v
retrieving revision 1.23
diff -u -r1.23 ds3d.c
--- dlls/dsound/tests/ds3d.c	5 Mar 2005 10:49:08 -0000	1.23
+++ dlls/dsound/tests/ds3d.c	14 Apr 2005 18:57:16 -0000
@@ -1109,7 +1109,7 @@
     bufdesc.dwSize=sizeof(bufdesc);
     bufdesc.dwFlags=DSBCAPS_PRIMARYBUFFER|DSBCAPS_CTRL3D;
     rc=IDirectSound_CreateSoundBuffer(dso,&bufdesc,&primary,NULL);
-    ok(rc==DS_OK && primary!=NULL,"IDirectSound_CreateSoundBuffer() failed "
+    ok(rc==E_INVALIDARG || (rc==DS_OK && primary!=NULL),"IDirectSound_CreateSoundBuffer() failed "
        "to create a 3D primary buffer: %s\n",DXGetErrorString8(rc));
     if (rc==DS_OK && primary!=NULL) {
         LPDIRECTSOUND3DLISTENER listener=NULL;


More information about the wine-patches mailing list