@Override
 public void setTexture(PImage newTexImage) {
   super.setTexture(newTexImage);
   adaptTexCoordsForNPOTUse();
 }
 @Override
 public void setUseDirectGL(boolean drawPureGL) {
   super.setUseDirectGL(drawPureGL);
   adaptTexCoordsForNPOTUse();
 }