mesa: Don't call driver RenderTexture for really broken textures
authorIan Romanick <ian.d.romanick@intel.com>
Sat, 27 Jul 2013 19:04:20 +0000 (12:04 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 6 Aug 2013 19:18:39 +0000 (12:18 -0700)
commitfb49713f8ed099559d255403dc1065a06305e0d8
treed3adac55180ab78b6eb67233973a2dfbf0f13268
parent0c3dbd689b3269c605ee07589a35af9147db5fe0
mesa: Don't call driver RenderTexture for really broken textures

This fixes the segfault in the '0x0 texture' subtest of piglit's
fbo-incomplete test.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Cc: "9.1 9.2" mesa-stable@lists.freedesktop.org
src/mesa/main/fbobject.c