PATCH: getcliplist ... differently
Marcus Meissner
marcus at jet.franken.de
Mon Jul 9 16:44:12 CDT 2001
Hi,
This obsoletes the previous patch for dclipper/main.c.
QuickTimerPlayer5 does not mind getting an error back from GetClipList, so
we just return the correct error.
After this QTP5 should start displaying stuff, unfortunately still
in fullscreen mode.
Ciao, Marcus
Changelog:
Make (G|S)etClipList not abort, but return DDERR_NOCLIPLIST.
Do not scroll FIXME()s too much.
Index: dclipper/main.c
===================================================================
RCS file: /home/wine/wine/dlls/ddraw/dclipper/main.c,v
retrieving revision 1.4
diff -u -r1.4 main.c
--- dclipper/main.c 2001/06/11 20:14:43 1.4
+++ dclipper/main.c 2001/07/09 22:31:56
@@ -106,10 +112,11 @@
LPDIRECTDRAWCLIPPER iface,LPRECT prcClip,LPRGNDATA lprgn,LPDWORD pdwSize
) {
ICOM_THIS(IDirectDrawClipperImpl,iface);
- FIXME("(%p,%p,%p,%p),stub!\n",This,prcClip,lprgn,pdwSize);
- abort();
+ static int warned = 0;
+ if (warned++ < 10)
+ FIXME("(%p,%p,%p,%p),stub!\n",This,prcClip,lprgn,pdwSize);
if (pdwSize) *pdwSize=0;
- return DD_OK;
+ return DDERR_NOCLIPLIST;
}
HRESULT WINAPI Main_DirectDrawClipper_SetClipList(
@@ -117,7 +124,6 @@
) {
ICOM_THIS(IDirectDrawClipperImpl,iface);
FIXME("(%p,%p,%ld),stub!\n",This,lprgn,pdwSize);
- abort();
return DD_OK;
}
More information about the wine-patches
mailing list