code: protected int createMainTex() {
      // the mipmaps flag is always false here because we only ever generate mipmaps for our
      // power-of-two textures; scaleTexture will use tex to create the POT texture, so tex should
      // not have mipmaps enabled, or it will hose up that process
      int tex = ctx.createTexture(false, false, false);
      updateTexture(tex);
      return tex;
    }
docs: Creates and populates a (not necessarily power of two) texture for use as our main texture.