Commit a2017f4f authored by Alexander Dorofeyev's avatar Alexander Dorofeyev Committed by Alexandre Julliard

wined3d: Add ENTER_GL/LEAVE_GL in IWineD3DDeviceImpl_ColorFill.

parent 7c261553
......@@ -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 */
......
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