[4/8] WineD3D: Do not try to disable unsupported texture units
stefan at codeweavers.com
Wed Nov 28 05:15:02 CST 2007
Am Mittwoch, 28. November 2007 09:33:22 schrieb H. Verbeet:
> On 27/11/2007, Stefan Dösinger <stefan at codeweavers.com> wrote:
> > textures. In this case we build a texture map to read a texture from a
> > lower texture unit from a higher register combiner. This texture unit
> > always stays below GL_LIMITS(textures) though.
> Yes, but you're checking against the sampler, not the texture unit.
> Shouldn't you be checking against mapped_stage instead?
Yes, I think you are right. Here is a corrected patch.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1513 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20071128/0720b570/attachment.patch
More information about the wine-patches