diff options
author | Patrick Rudolph <siro@das-labor.org> | 2015-02-20 15:48:57 +0100 |
---|---|---|
committer | Axel Davy <axel.davy@ens.fr> | 2015-04-29 08:28:10 +0200 |
commit | 77a38d2088678fa756aca61592777f12e245ac0c (patch) | |
tree | 3320dbf7f2a2464cbc78132848a4954b1c6fb22e /include | |
parent | 716bef2643367d3696aa20ab7178cbe19bf78abc (diff) |
st/nine: NineDevice9_Clear skip fastpath for bigger depth-buffers
This adds an additional check to make sure the bound depth-buffer doesn't
exceed the rendertarget size when clearing depth and color buffer at once.
D3D9 clears only a rectangle with the same dimensions as the viewport, leaving
other parts of the depth-buffer intact.
This fixes failing WINE test visual.c:depth_buffer_test()
Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Signed-off-by: Axel Davy <axel.davy@ens.fr>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions