Alexander Dorofeyev : wined3d: Add ENTER_GL/ LEAVE_GL in IWineD3DDeviceImpl_ColorFill.
Module: wine Branch: master Commit: a2017f4f212077298ca394260b796104c5185198 URL: http://source.winehq.org/git/wine.git/?a=commit;h=a2017f4f212077298ca394260b... Author: Alexander Dorofeyev <alexd4(a)inbox.lv> Date: Mon Apr 7 00:05:58 2008 +0300 wined3d: Add ENTER_GL/LEAVE_GL in IWineD3DDeviceImpl_ColorFill. --- dlls/wined3d/device.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c index 538a79d..eed3541 100644 --- a/dlls/wined3d/device.c +++ b/dlls/wined3d/device.c @@ -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 */
participants (1)
-
Alexandre Julliard