wined3d: Fix the return value for IWineD3DDeviceImpl_ColorFill.

This commit is contained in:
H. Verbeet 2007-04-27 00:17:54 +02:00 committed by Alexandre Julliard
parent 43b278c5f1
commit 3226ad451f
1 changed files with 1 additions and 1 deletions

View File

@ -5218,7 +5218,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl_ColorFill(IWineD3DDevice *iface, IWineD
if (wined3d_settings.offscreen_rendering_mode == ORM_FBO) { if (wined3d_settings.offscreen_rendering_mode == ORM_FBO) {
color_fill_fbo(iface, pSurface, pRect, color); color_fill_fbo(iface, pSurface, pRect, color);
return WINED3DERR_INVALIDCALL; return WINED3D_OK;
} else { } else {
/* Just forward this to the DirectDraw blitting engine */ /* Just forward this to the DirectDraw blitting engine */
memset(&BltFx, 0, sizeof(BltFx)); memset(&BltFx, 0, sizeof(BltFx));