Re: [Mesa-dev] [PATCH] intel: Kill dead code in intel_miptree_copy_teximage()

2011-10-24 Thread Eric Anholt
On Mon, 24 Oct 2011 14:03:38 -0700, Chad Versace 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

[Mesa-dev] [PATCH] intel: Kill dead code in intel_miptree_copy_teximage()

2011-10-24 Thread Chad Versace
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 w