- Improved switch between fixed and programmable pipeline materials.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4559 dfc29bdd-3216-0410-991c-e03cc46cb475
- Fixed compilation issues with CG support enabled.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4560 dfc29bdd-3216-0410-991c-e03cc46cb475