Stefan Dösinger : wined3d: Disable the scissor test when blitting.
Alexandre Julliard
julliard at winehq.org
Tue Dec 4 13:25:19 CST 2007
Module: wine
Branch: master
Commit: a4461e03f713c6afe71d230432133b3cc34407a6
URL: http://source.winehq.org/git/wine.git/?a=commit;h=a4461e03f713c6afe71d230432133b3cc34407a6
Author: Stefan Dösinger <stefan at 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");
More information about the wine-cvs
mailing list