[4/5] wined3d: Disable the scissor test for depth blits
H. Verbeet
hverbeet at gmail.com
Tue Apr 10 12:14:10 CDT 2007
Similar to the previous patch
Changelog:
- Disable the scissor test for depth blits
-------------- next part --------------
---
dlls/wined3d/drawprim.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/wined3d/drawprim.c b/dlls/wined3d/drawprim.c
index b8d0fcc..9ec6142 100644
--- a/dlls/wined3d/drawprim.c
+++ b/dlls/wined3d/drawprim.c
@@ -765,6 +765,7 @@ static void depth_blt(IWineD3DDevice *iface, GLuint texture) {
glDisable(GL_CULL_FACE);
glDisable(GL_BLEND);
glDisable(GL_ALPHA_TEST);
+ glDisable(GL_SCISSOR_TEST);
glDisable(GL_STENCIL_TEST);
glEnable(GL_DEPTH_TEST);
glDepthFunc(GL_ALWAYS);
More information about the wine-patches
mailing list