A sampler problem

My code manage to compile both shaders but fail to link them with the following message: “A sampler points to a texture unit used by fixed function with an incompatible target.”

I know this works on nvidia card but fails to work on my card.

I attache a portion of a simplified code of my program with the shaders hardcoded (so please excuse my terrible coding).
I also attach a summary of my card’s capability.
It’s an Intel Eaglelake on board graphic card.
It support Open GL 2.0 and GLSL 1.10.

I would appreciate any help on this problem.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.