mesa: fix crash in driver_RenderTexture_is_safe
authorMarek Olšák <marek.olsak@amd.com>
Mon, 30 May 2016 14:29:18 +0000 (16:29 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 31 May 2016 14:43:34 +0000 (16:43 +0200)
commit8a10192b4b2435577bde1227c06166029b581398
tree2ce7acb4c5b5fce656afcd245216618c9d57c972
parentfc4896e686f79893d6496c7a792a6c72cb3759c1
mesa: fix crash in driver_RenderTexture_is_safe

This just fixed the crash with the apitrace in bug report.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=95246

Cc: 11.1 11.2 12.0 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/mesa/main/fbobject.c