[1/2] wined3d: unbound texture units should sample black instead of white.

Henri Verbeet hverbeet at gmail.com
Fri Jul 2 05:38:25 CDT 2010

On 1 July 2010 20:58, Fabian Bieler <der.fabe at gmx.net> wrote:
> I hoped that OpenGL took care of those cases. According to the spec samplers
> with incomplete textures bound to them should return (0, 0, 0, 1), too.
> Wouldn't sampling from a texture unit to which the binding of matching
> dimensionality is 0 count as incomplete? (At least as long as no one uploads
> an image to it, I'm not sure if it's legal to use texture name 0)
I don't think we actually unbind the old texture for anything other
than 2D textures. In that sense the whole dummy texture scheme is a
bit broken anyway.

More information about the wine-devel mailing list