Module: wine Branch: master Commit: 80555d2cb86965de0e636e670f3efd3bb98da395 URL: http://source.winehq.org/git/wine.git/?a=commit;h=80555d2cb86965de0e636e670f...
Author: Henri Verbeet hverbeet@codeweavers.com Date: Wed Feb 22 17:10:27 2012 +0100
wined3d: Specify the depth range in surface_depth_blt().
---
dlls/wined3d/surface.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/wined3d/surface.c b/dlls/wined3d/surface.c index ac44194..d293940 100644 --- a/dlls/wined3d/surface.c +++ b/dlls/wined3d/surface.c @@ -5561,6 +5561,7 @@ static void surface_depth_blt(const struct wined3d_surface *surface, struct wine glDepthMask(GL_TRUE); glColorMask(GL_FALSE, GL_FALSE, GL_FALSE, GL_FALSE); glViewport(x, y, w, h); + glDepthRange(0.0, 1.0);
SetRect(&rect, 0, h, w, 0); surface_get_blt_info(target, &rect, surface->pow2Width, surface->pow2Height, &info);