X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fcore%2Ftexture2d.cpp;h=1e9ec90344e242608caa55501268a08775a54aa2;hp=c0a96a4e7e2d43e10e14b58f268d8952fe0ac90c;hb=dbc91b65728ab9c0e574bb1127cfe4d2da55de7f;hpb=f1244e29afd2a36aafc2373d485457b4cb0411ff diff --git a/source/core/texture2d.cpp b/source/core/texture2d.cpp index c0a96a4e..1e9ec903 100644 --- a/source/core/texture2d.cpp +++ b/source/core/texture2d.cpp @@ -206,7 +206,6 @@ void Texture2D::unload() glDeleteTextures(1, &id); id = 0; allocated = 0; - default_sampler.unload(); }