Am Samstag 31 März 2007 11:56 schrieb Nathan Williams:
> > This->Flags |= SFLAG_NONPOW2
This also isn't correct in that case :-)

This will set the NONPOW2 flag unconditionally, even for surfaces which have 
power of 2 sizes. If there is a surface which has non power of 2 sizes, and 
the non power of 2 extension is not supported, then the bug is in 
CreateSurface itself.

If gl native np2 surfaces are supported, then NONPOW2 is never set. The name 
of this flag is maybe a bit misleading. Essentially it means that the opengl 
texture is bigger than the surface in memory.

Attachment: pgpMiqNFt4BNP.pgp
Description: PGP signature



Reply via email to