X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fcore%2Ftexture2d.cpp;fp=source%2Fcore%2Ftexture2d.cpp;h=8dc15b1c38aaf3a6364c3eccf80249ef25d2f301;hb=57ca8f2bd18525d80ed6ad5d3f72e57901162d55;hp=04ad6ed8d25fe5f61ef7e7893a33d238fcf31df5;hpb=5a01404e40717c6c2cc389ed8357713e1f216f07;p=libs%2Fgl.git diff --git a/source/core/texture2d.cpp b/source/core/texture2d.cpp index 04ad6ed8..8dc15b1c 100644 --- a/source/core/texture2d.cpp +++ b/source/core/texture2d.cpp @@ -113,11 +113,7 @@ void Texture2D::Loader::init() void Texture2D::Loader::raw_data(const string &data) { if(obj.manager) - { obj.set_manager(0); - if(!obj.id) - obj.generate_id(); - } obj.image(0, data.data()); }