protected int createPow2RepTex(int width, int height, boolean repeatX, boolean repeatY,
                                 boolean mipmapped) {
    int powtex = ctx.createTexture(width, height, repeatX, repeatY, mipmapped);
    updateTexture(powtex);
    return powtex;
  }
protected int createPow2RepTex ( int width , int height , boolean repeatX , boolean repeatY , boolean mipmapped ) { int powtex = ctx . createTexture ( width , height , repeatX , repeatY , mipmapped ) ; updateTexture ( powtex ) ; return powtex ; }
Creates and populates a texture for use as our power-of-two texture. This is used when our
main image data is already power-of-two-sized.