Commit 3226ad45 authored by H. Verbeet's avatar H. Verbeet Committed by Alexandre Julliard

wined3d: Fix the return value for IWineD3DDeviceImpl_ColorFill.

parent 43b278c5
......@@ -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));
......
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