code: 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;
    }
docs: 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.