Yes, I changed to mixin (link!"variable") and everything works now. Thanks! I gotta say, writing openGL in D is easily the least painful openGL programming I've experienced thanks to these string mixins.