mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 10:41:12 +00:00
wined3d: Specify the depth range in surface_depth_blt().
This commit is contained in:
parent
9635ee9566
commit
80555d2cb8
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue