removed const, seems to only work on newer ati hardware ( probably a compiler bug )