DirectDrawRenderer - opengl non power of 2 windows
nathan.andrew.williams at gmail.com
Sat Mar 31 06:05:55 CDT 2007
Hmm, ok it seems I'm going to have to put some more time and thought
into this patch before I try again!
Thanks for all your help, I'll see what I can work out.
Do you know of any games that create power of 2 surfaces, so any
changes I make, I can test them against?
Or should I just fire up windows, and brush up on my direct draw code
to make a test app? =D
On 3/31/07, Stefan Dösinger <stefandoesinger at gmx.at> wrote:
> 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.
More information about the wine-devel