]> git.tdb.fi Git - libs/gltk.git/commitdiff
Allow embedded textures in resource datafiles
authorMikko Rasa <tdb@tdb.fi>
Sat, 12 Jan 2008 12:12:06 +0000 (12:12 +0000)
committerMikko Rasa <tdb@tdb.fi>
Sat, 12 Jan 2008 12:12:06 +0000 (12:12 +0000)
source/resources.cpp

index b3ec3698d136a65268aa74c7115a09df7d218666..01426a20ced22d8911c587ab21338201c8d02c1d 100644 (file)
@@ -18,6 +18,7 @@ Resources::Resources():
        default_font(0)
 {
        add_keyword<Graphic>("graphic");
+       add_keyword<GL::Texture2D>("texture");
 
        add_creator(&Resources::create_font);
        add_creator(&Resources::create_texture);