X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Ftexture2d.cpp;fp=source%2Ftexture2d.cpp;h=78011d3046ea5fb8189f823096fa8d730c651033;hb=78840e775c62c1b6e3f550bf8be1f0b828df91aa;hp=72c84428ab6115ec4823a62d0264e0e21e989886;hpb=fb5ca4dbba257d3eb7fa15800d9663b774e41e7e;p=libs%2Fgl.git diff --git a/source/texture2d.cpp b/source/texture2d.cpp index 72c84428..78011d30 100644 --- a/source/texture2d.cpp +++ b/source/texture2d.cpp @@ -191,6 +191,7 @@ void Texture2D::unload() allocated = 0; // TODO check which params actually need refreshing dirty_params = -1; + default_sampler.unload(); }