+ Immediate imm((TEXCOORD2, VERTEX2));
+ draw_string(str, dec, imm);
+}
+
+void Font::draw_string(const string &str, Codecs::Decoder &dec, PrimitiveBuilder &pbuilder) const
+{
+ if(!tex)
+ throw InvalidState("No texture");
+
+ Bind bind_tex(tex, true);
+
+ float x = 0;
+ unsigned count = 0;