Module: wine Branch: master Commit: 384ad311f3b8efd51bf28b9e2f39dbf27b36726a URL: http://source.winehq.org/git/wine.git/?a=commit;h=384ad311f3b8efd51bf28b9e2f...
Author: H. Verbeet hverbeet@gmail.com Date: Tue Apr 10 19:14:01 2007 +0200
wined3d: Disable the scissor test in stretch_rect_fbo.
---
dlls/wined3d/device.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c index 290ea85..8153fb7 100644 --- a/dlls/wined3d/device.c +++ b/dlls/wined3d/device.c @@ -5276,6 +5276,9 @@ void stretch_rect_fbo(IWineD3DDevice *iface, IWineD3DSurface *src_surface, const TRACE("src_rect [%u, %u]->[%u, %u]\n", src_rect->x1, src_rect->y1, src_rect->x2, src_rect->y2); TRACE("dst_rect [%u, %u]->[%u, %u]\n", dst_rect->x1, dst_rect->y1, dst_rect->x2, dst_rect->y2);
+ glDisable(GL_SCISSOR_TEST); + IWineD3DDeviceImpl_MarkStateDirty(This, STATE_RENDER(WINED3DRS_SCISSORTESTENABLE)); + switch (filter) { case WINED3DTEXF_LINEAR: gl_filter = GL_LINEAR;