DirectDrawRenderer - opengl non power of 2 windows
Stefan Dösinger
stefandoesinger at gmx.at
Sat Mar 31 04:22:10 CDT 2007
> @@ -3194,6 +3193,7 @@ static HRESULT WINAPI
IWineD3DSurfaceImpl_PrivateSetup(IWineD3DSurface *iface) {
> } else {
> /* No oversize, gl rect is the full texture size */
> This->Flags &= ~SFLAG_OVERSIZE;
> + This->Flags &= SFLAG_NONPOW2;
This is not correct. This removes every flag except SFLAG_NONPOW2. If you want
to remove the SFLAG_NONPOW2 flag you have to invert the flag:
This->Flags &= ~SFLAG_NONPOW2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20070331/252157a3/attachment.pgp
More information about the wine-devel
mailing list