On Thu, 15 Sep 2011 16:02:49 +0800, Yuanhan Liu <yuanhan....@linux.intel.com> 
wrote:
> intel_image->mt might be NULL, say with border width set. It then would
> trigger a segfault at intel_map/unmap_texture_image function.
> 
> This would fix the oglc misctest(basic.textureBorderIgnore) fail.
> 
> Signed-off-by: Yuanhan Liu <yuanhan....@linux.intel.com>

Oops, never saw this, and sent a version of it out yesterday myself.

You shouldn't need the ->region check, since we shouldn't ever have a
miptree without one.  Other than that, go ahead and push.

Attachment: pgp4GdJndz64m.pgp
Description: PGP signature

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to