wined3d: Add ENTER_GL/LEAVE_GL in IWineD3DDeviceImpl_ColorFill.

This commit is contained in:
Alexander Dorofeyev 2008-04-07 00:05:58 +03:00 committed by Alexandre Julliard
parent 7c261553d0
commit a2017f4f21
1 changed files with 2 additions and 0 deletions

View File

@ -6208,7 +6208,9 @@ static HRESULT WINAPI IWineD3DDeviceImpl_ColorFill(IWineD3DDevice *iface, IWineD
}
if (wined3d_settings.offscreen_rendering_mode == ORM_FBO) {
ENTER_GL();
color_fill_fbo(iface, pSurface, pRect, color);
LEAVE_GL();
return WINED3D_OK;
} else {
/* Just forward this to the DirectDraw blitting engine */