[gameprogrammer] CG and D3D - unbinding shader programs

Hey does anyone know how to unbind a shader program once you've bound
it using cgD3D9BindProgram?

I couldnt find an unbind, and I tried passing null to that function
but it didn't like that.

Basically I just want to use the fixed pipeline 99% of the time but
use a shader program here and there.

Is there a good way to do that?

---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html


Other related posts: