Ensure that #materials equals #textures
Ensure that #materials equals #textures

With the old implementation, this post condition was also true (eventually), but ensuring it was unnecessarily delayed

tu500/visionaray,szellmann/visionaray,tu500/visionaray,ukoeln-vis/ctpperf,szellmann/visionaray,ukoeln-vis/ctpperf