winsys/radeon: Do not deinit the pb cache if it was not initialized
authorNiels Ole Salscheider <niels_ole@salscheider-online.de>
Fri, 29 Jan 2016 21:48:57 +0000 (22:48 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 2 Feb 2016 20:11:15 +0000 (21:11 +0100)
commitfb44cfadce97ad99cbca84880c628c8510055438
tree7fc34243d2bccc5cf2c5da62523530b0e4a4877e
parent84a6d2d7d61e5fc5364c58c9a9b90a4705f0ec95
winsys/radeon: Do not deinit the pb cache if it was not initialized

This fixes a crash in pb_cache_release_all_buffers.

Signed-off-by: Niels Ole Salscheider <niels_ole@salscheider-online.de>
Signed-off-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/winsys/radeon/drm/radeon_drm_winsys.c