X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fmaterials%2Fmaterial.cpp;h=eaabad157002b793f64a9d1575238618856e9223;hp=25ed72189b1bac8c43ef1e028d5f940a1b086214;hb=3a6eb030fb4eca4c2a317f270704fddf31613130;hpb=fa2b4c8a93ebad2497cacfdeaa9a2c20be486520 diff --git a/source/materials/material.cpp b/source/materials/material.cpp index 25ed7218..eaabad15 100644 --- a/source/materials/material.cpp +++ b/source/materials/material.cpp @@ -91,7 +91,7 @@ void Material::Loader::init_actions() add("sampler", &Loader::sampler); } -void Material::Loader::sampler(const std::string &name) +void Material::Loader::sampler(const string &name) { obj.sampler = &get_collection().get(name); }