[PATCH 3/3] wined3d: Correctly set conditional NPOT caps bit
stefandoesinger at gmx.at
Thu Mar 29 10:28:32 CDT 2007
Am Donnerstag 29 März 2007 14:09 schrieb Vitaly Budovski:
> This patch sets the conditional NPOT bit only when required. If an
> implementation has full support for NPOT textures through the
> ARB_texture_non_power_of_two extension, then support for the subset of
> capabilities provided by the ARB_texture_rectangle extension is implied.
> dlls/wined3d/directx.c | 7 +++++--
> 1 files changed, 5 insertions(+), 2 deletions(-)
I am not sure if we shouldn't set NONPOWER2CONDITIONAL unconditionally if POW2
is set. WineD3D emulates np2 textures by using a texture of the next pow2size
and adjusting the texture matrix accordingly. This doesn't work for shaders
though, but mipmapping and other things are supported.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20070329/f300b71e/attachment.pgp
More information about the wine-devel