Debugging partial texturing bug