Module: wine Branch: master Commit: a4461e03f713c6afe71d230432133b3cc34407a6 URL: http://source.winehq.org/git/wine.git/?a=commit;h=a4461e03f713c6afe71d230432...
Author: Stefan Dösinger stefan@codeweavers.com Date: Sat Dec 1 01:10:37 2007 +0100
wined3d: Disable the scissor test when blitting.
---
dlls/wined3d/context.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/dlls/wined3d/context.c b/dlls/wined3d/context.c index 5e1bdc6..db8f13b 100644 --- a/dlls/wined3d/context.c +++ b/dlls/wined3d/context.c @@ -585,6 +585,9 @@ static inline void SetupForBlit(IWineD3DDeviceImpl *This, WineD3DContext *contex glDisable(GL_STENCIL_TEST); checkGLcall("glDisable GL_STENCIL_TEST"); Context_MarkStateDirty(context, STATE_RENDER(WINED3DRS_STENCILENABLE)); + glDisable(GL_SCISSOR_TEST); + checkGLcall("glDisable GL_SCISSOR_TEST"); + Context_MarkStateDirty(context, STATE_RENDER(WINED3DRS_SCISSORTESTENABLE)); if(GL_SUPPORT(ARB_POINT_SPRITE)) { glDisable(GL_POINT_SPRITE_ARB); checkGLcall("glDisable GL_POINT_SPRITE_ARB");