wined3d: Explicitly enable depth buffer writing in depth_blt().

This prevents conflicts with WINED3DRS_ZWRITEENABLE.
This commit is contained in:
H. Verbeet 2008-06-25 00:32:00 +02:00 committed by Alexandre Julliard
parent 6056fd1b05
commit c433562a68
1 changed files with 1 additions and 0 deletions

View File

@ -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));