Original Post
I am trying to get basic glsl shaders to work but i get a 'Ongeldige Bewerking' (i think the correct translation is 'Invalid Exception') ogl error after calling glUseProgramObjectARB. As a result the quad i draw is white instead of colored (what my shader should do, it's just not executed). I am not feeling like posting all of the code so if anyone could tell me at what places the cause of the error can be i will post that code. Tnanks a lot. Btw, if you need me to describe my problem better please say so. EDIT: i am able to run my shader with the glsl demo viewer from the 3dlabs website so that can't be the problem.