Module: wine Branch: master Commit: c433562a68743088283f61656b950cfe50347e59 URL: http://source.winehq.org/git/wine.git/?a=commit;h=c433562a68743088283f61656b...
Author: H. Verbeet hverbeet@gmail.com Date: Wed Jun 25 00:32:00 2008 +0200
wined3d: Explicitly enable depth buffer writing in depth_blt().
This prevents conflicts with WINED3DRS_ZWRITEENABLE.
---
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 b5e59b8..7214bf8 100644 --- a/dlls/wined3d/drawprim.c +++ b/dlls/wined3d/drawprim.c @@ -732,6 +732,7 @@ static void depth_blt(IWineD3DDevice *iface, GLuint texture) { glDisable(GL_STENCIL_TEST); glEnable(GL_DEPTH_TEST); glDepthFunc(GL_ALWAYS); + glDepthMask(GL_TRUE); glBlendFunc(GL_ZERO, GL_ONE);
GL_EXTCALL(glActiveTextureARB(GL_TEXTURE0_ARB));