Re: [WINED3D 3] Only link and use GLSL programs if at least one GLSL shader is available.
On 04/07/06, Ivan Gyurdiev <ivg231(a)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.
H. Verbeet wrote:
On 04/07/06, Ivan Gyurdiev <ivg231(a)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?
On 04/07/06, Ivan Gyurdiev <ivg231(a)gmail.com> wrote:
H. Verbeet wrote:
On 04/07/06, Ivan Gyurdiev <ivg231(a)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.
H. Verbeet wrote:
On 04/07/06, Ivan Gyurdiev <ivg231(a)gmail.com> wrote:
H. Verbeet wrote:
On 04/07/06, Ivan Gyurdiev <ivg231(a)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.
participants (2)
-
H. Verbeet -
Ivan Gyurdiev