texobj: Remove redundant checks that the texture cube faces match size
authorNeil Roberts <neil@linux.intel.com>
Thu, 21 Jan 2016 17:28:07 +0000 (17:28 +0000)
committerNeil Roberts <neil@linux.intel.com>
Thu, 21 Jan 2016 21:45:53 +0000 (21:45 +0000)
commitcbf0e64ee1e2d4514dbec9e4fbf688098fcef318
tree099eb1b92a0d13c4e90db1c32759f731732b00dd
parent666d96d1697fc9a1452519285758cc16240290d2
texobj: Remove redundant checks that the texture cube faces match size

The texture mipmap completeness checking code was checking whether all
of the faces have the same size. However this is pointless because the
code just above it checks whether the face has the expected size
calculated for the mipmap level anyway so the error condition could
never be reached. This patch just removes it.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/main/texobj.c