On Mon, 24 Oct 2011 14:03:38 -0700, Chad Versace <c...@chad-versace.us> wrote:
> Kill the code paths taken when src_mt is null. It is never null, otherwise
> there would be a segfault on line 4 of this function:
>     GLuint width = src_mt->level[level].width;
> 
> (Some interleaved lines in the diff make the real diff non-obvious. All
> I did was delete some code and then left-shifted what remained to correct
> the indentation.)
> 
> Signed-off-by: Chad Versace <c...@chad-versace.us>

I was going to say how this was incorrect and must have been something I
broke in my refactor, but these days the only way to not have an mt is
with texture borders, and with texture borders we don't call this
function anyway.

It is a good reminder to me to send out the strip-texture-borders code,
though.

Reviewed-by: Eric Anholt <e...@anholt.net>

Attachment: pgpNr8evklak7.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