Hi:
I can’t get the updating of the compressed texture to work right.
Here is my code:
glCompressedTexImage2D(GL_TEXTURE_2D, 0,0, 0,128, 128,
GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG,8192,data1);
glCompressedTexSubImage2D(GL_TEXTURE_2D, 0,0, 0,64, 64,
GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG,2048,data2);
After I update the texture, nothing changes, it still the old texture.
Did any body know what I’m doing wrong?