Fixed shading code after the mode stuff had broken it
Fixed shading code after the mode stuff had broken it

darcs-hash:20061021172035-4eba8-8472f19f9c24b602a35ca84eb0937f7592ce7672.gz

dkogan/notion,p5n/notion,anoduck/notion,dkogan/notion.xfttest,anoduck/notion,dkogan/notion.xfttest,dkogan/notion,raboof/notion,knixeur/notion,neg-serg/notion,dkogan/notion,neg-serg/notion,dkogan/notion,p5n/notion,raboof/notion,knixeur/notion,knixeur/notion,raboof/notion,p5n/notion,p5n/notion,dkogan/notion.xfttest,neg-serg/notion,anoduck/notion,dkogan/notion.xfttest,raboof/notion,dkogan/notion,anoduck/notion,anoduck/notion,p5n/notion,knixeur/notion,knixeur/notion,neg-serg/notion