[WINED3D 3] Only link and use GLSL programs if at least one GLSL shader is available.

Ivan Gyurdiev ivg231 at gmail.com
Thu Jul 6 01:28:10 CDT 2006


H. Verbeet wrote:
> On 04/07/06, Ivan Gyurdiev <ivg231 at gmail.com> wrote:
>> H. Verbeet wrote:
>> > On 04/07/06, Ivan Gyurdiev <ivg231 at gmail.com> wrote:
>> >> There's something wrong with this patch... I'm not sure what it is 
>> yet,
>> > The 0 program (fixed function) doesn't get set anymore when there are
>> > no shaders.
>> The fixed function is a GLSL program?
> No, but you call BindProgram with 0 as program id to enable the fixed
> function pipeline again. Otherwise the previously bound GLSL program
> is still in use.

Further investigation shows that yes, I do need this patch, but as Henri 
points out it is broken.
I'll send a fixed version that applies after all the other patches.






More information about the wine-devel mailing list