X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fresources.cpp;h=d52dbe34fb61c745e74c4cad108cdd0a604990e7;hp=c28cdd07cf2d5f6a86814c44aa053ca674005e9f;hb=bec07999d95b76f4b47cffcc564d0cd0afc0435e;hpb=635e5dc39adf09051bdacadbc402ddf22f7807a3 diff --git a/source/resources.cpp b/source/resources.cpp index c28cdd07..d52dbe34 100644 --- a/source/resources.cpp +++ b/source/resources.cpp @@ -15,6 +15,7 @@ #include "programcompiler.h" #include "resourcemanager.h" #include "resources.h" +#include "sampler.h" #include "technique.h" #include "texture1d.h" #include "texture2d.h" @@ -46,6 +47,7 @@ Resources::Resources(): add_type().suffix(".pipe").keyword("pipeline"); add_type().keyword("pose"); add_type().keyword("shader").suffix(".glsl").creator(&Resources::create_program); + add_type().suffix(".samp").keyword("sampler"); add_type().suffix(".tech").keyword("technique"); add_type().base().suffix(".tex1d").keyword("texture1d"); add_type().base().suffix(".tex2d").suffix(".png").suffix(".jpg").keyword("texture2d").creator(&Resources::create_texture2d);