From: Mikko Rasa Date: Wed, 16 Jan 2013 16:53:58 +0000 (+0200) Subject: Restore ability to handle raw image files X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=9072069993704481d93b71add1f1ecda1009ae88;p=libs%2Fgltk.git Restore ability to handle raw image files --- diff --git a/source/resources.cpp b/source/resources.cpp index 3e0f851..045096e 100644 --- a/source/resources.cpp +++ b/source/resources.cpp @@ -10,7 +10,7 @@ Resources::Resources(): default_font(0) { add_type().keyword("graphic"); - add_type().keyword("texture"); + add_type().keyword("texture").creator(&Resources::create_texture); add_type().keyword("font"); add_type