I have had this problem as well.
from the s3tc extension spec:
http://oss.sgi.com/projects/ogl-sample/registry/EXT/texture_compression_s3tc.txt
"
CompressedTexSubImage2D will result
in an INVALID_OPERATION error only if one of the following conditions
occurs:
* <width> is not a multiple of four or equal to TEXTURE_WIDTH.
* <height> is not a multiple of four or equal to TEXTURE_HEIGHT.
* <xoffset> or <yoffset> is not a multiple of four.
"
doesn't cover the case where width/height is less than 4 but not equal
to TEXTURE_WIDTH/TEXTURE_HEIGHT even though it is equal to the
width/height of the mip level.
One solution is to not have mip levels smaller than 4x4 on compressed textures.
(they aren't likely used anyway)
Keith Yerex
On 10/22/07, Stefan Dösinger <email@hidden> wrote:
> I just want to note that I am seeing exactly the same problem, and I'd be
> interested to be updated if there is some news about this isse.
>
> > BTW: this way to prebuild the "mipmap pyramid" is used by EVERY Ogre3d
> > game/application, I already spoken with Ogre project leader and he will
> > change the prebuilt method in the Mac version, but the change will be less
> > performant cause the texture will be uploaded TWICE (in the prebuild stage
> > it will be uploaded an all null empty texture).
> I am using the same workaround in Wine. It's not a big deal, and some other
> drivers(the open source Linux radeon drivers) have problems with
> glCompressedTexSubImage2D if width or height are smaller than the DXTc block
> size. This is a corner case actually, and I haven't found any useable
> specification on it.
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Mac-opengl mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/mac-opengl/email@hidden
>
> This email sent to email@hidden
>
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Mac-opengl mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/mac-opengl/email@hidden
This email sent to email@hidden