X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=antikythera;a=blobdiff_plain;f=src%2Ftexture.cc;h=da147217fcc49c9aae913e43b7610c83680a6516;hp=a787abd380d3f10c829c654e611af6f4d6f91311;hb=HEAD;hpb=21d0490039c490c6abcc80ebf2142a3376f2be43 diff --git a/src/texture.cc b/src/texture.cc index a787abd..da14721 100644 --- a/src/texture.cc +++ b/src/texture.cc @@ -463,7 +463,7 @@ Texture *TextureSet::get_texture(const char *name, TextureType type) const Texture *res = create(); res->create_default(type); - resman_lookup(rman, name, res); + resman_add(rman, name, res); return res; }