X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Ftext.h;h=40c9b8500097d1591f8be68b1ad6b3234870729b;hp=ab1bfe930e8c8dc11509c35b1fc682967ef2e8fd;hb=3c46227c280bc4cd8a4487c648f2f080d5b4f7ea;hpb=31e788548ca4875539ad59c4fbec26ab90517141 diff --git a/source/text.h b/source/text.h index ab1bfe93..40c9b850 100644 --- a/source/text.h +++ b/source/text.h @@ -46,7 +46,7 @@ public: const Mesh *get_mesh() const { return &mesh; } /** Sets technique to render with. It should have a texture slot named - "diffusemap", which will be replaced with the font's texture. */ + "diffuse_map", which will be replaced with the font's texture. */ void set_technique(const Technique *); const Technique *get_technique() const { return object.get_technique(); } @@ -76,7 +76,7 @@ public: float get_width() const { return width; } - virtual void render(Renderer &, const Tag &) const; + virtual void render(Renderer &, const Tag & = Tag()) const; operator const Object &() const { return object; } };