Change util_texSubImage2D to call glCompressedTexImage2D correctly.
Previously we had been setting the imageSize parameter to 0, which was incorrect. According to the OpenGL ES spec for glCompressedTexImage2D this parameter should be the size in bytes of the compressed data.
Loading
Please register or sign in to comment