commit | 106006cbdedc79ce8746ca5449610c69a2f69655 | [log] [tgz] |
---|---|---|
author | Jack Palevich <jackpal@google.com> | Mon Aug 31 17:42:50 2009 -0700 |
committer | Jack Palevich <jackpal@google.com> | Mon Aug 31 17:42:50 2009 -0700 |
tree | 2cf4634ea80b81ef963d7ecdd1d2bbf68fe53f3e | |
parent | de5cd3d8646f312987062f46616466ae191aa984 [diff] |
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.