DirectDrawRenderer - opengl non power of 2 windows

Stefan Dösinger stefandoesinger at
Sat Mar 31 05:22:37 CDT 2007

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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url :

More information about the wine-devel mailing list