From 3226ad451f7fdda40a0ccfdb63c850e7aa521a48 Mon Sep 17 00:00:00 2001 From: "H. Verbeet" Date: Fri, 27 Apr 2007 00:17:54 +0200 Subject: [PATCH] wined3d: Fix the return value for IWineD3DDeviceImpl_ColorFill. --- dlls/wined3d/device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c index aeb99638705..f4f3002d83c 100644 --- a/dlls/wined3d/device.c +++ b/dlls/wined3d/device.c @@ -5218,7 +5218,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl_ColorFill(IWineD3DDevice *iface, IWineD if (wined3d_settings.offscreen_rendering_mode == ORM_FBO) { color_fill_fbo(iface, pSurface, pRect, color); - return WINED3DERR_INVALIDCALL; + return WINED3D_OK; } else { /* Just forward this to the DirectDraw blitting engine */ memset(&BltFx, 0, sizeof(BltFx));