diff options
author | Patrick Rudolph <siro@das-labor.org> | 2016-09-28 20:11:34 +0200 |
---|---|---|
committer | Axel Davy <axel.davy@ens.fr> | 2016-10-10 23:43:51 +0200 |
commit | a52e700169066c7c2b4a26230f66f77db702af82 (patch) | |
tree | f03b1341e3f7eb3d7e888caa3d85db55b1852a41 /src/gallium/state_trackers | |
parent | 5d85253dc30cc26a40fa6f4a52cf61880827edee (diff) | |
download | external_mesa3d-a52e700169066c7c2b4a26230f66f77db702af82.zip external_mesa3d-a52e700169066c7c2b4a26230f66f77db702af82.tar.gz external_mesa3d-a52e700169066c7c2b4a26230f66f77db702af82.tar.bz2 |
st/nine: Add debug output for lost devices
Add debug output to ease debugging.
Signed-off-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-by: Axel Davy <axel.davy@ens.fr>
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r-- | src/gallium/state_trackers/nine/swapchain9.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/nine/swapchain9.c b/src/gallium/state_trackers/nine/swapchain9.c index 03bdcd3..f571416 100644 --- a/src/gallium/state_trackers/nine/swapchain9.c +++ b/src/gallium/state_trackers/nine/swapchain9.c @@ -781,6 +781,7 @@ NineSwapChain9_Present( struct NineSwapChain9 *This, if (This->base.device->ex) { if (NineSwapChain9_GetOccluded(This)) { + DBG("Present is occluded. Returning S_PRESENT_OCCLUDED.\n"); return S_PRESENT_OCCLUDED; } } else { @@ -789,6 +790,7 @@ NineSwapChain9_Present( struct NineSwapChain9 *This, This->base.device->device_needs_reset = TRUE; } if (This->base.device->device_needs_reset) { + DBG("Device is lost. Returning D3DERR_DEVICELOST.\n"); return D3DERR_DEVICELOST; } } |