summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i915/i915_context.h
diff options
context:
space:
mode:
authorChad Versace <[email protected]>2011-10-24 13:55:43 -0700
committerChad Versace <[email protected]>2011-10-25 11:28:32 -0700
commit882c83377da57d41c62eb38484305523c3d19dd7 (patch)
tree03a6c591150b9442fcc80ec2689eac9a2f248aa2 /src/gallium/drivers/i915/i915_context.h
parent265f55e6273aafc8e7607cd70a4b9756f7cb6bff (diff)
intel: Kill dead code in intel_miptree_copy_teximage()
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.) Reviewed-by: Eric Anholt <[email protected]> Signed-off-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/gallium/drivers/i915/i915_context.h')
0 files changed, 0 insertions, 0 deletions