wined3d: Fix the return value for IWineD3DDeviceImpl_ColorFill.
This commit is contained in:
parent
43b278c5f1
commit
3226ad451f
|
@ -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));
|
||||||
|
|
Loading…
Reference in New Issue