]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/texture2d.cpp
Remove default sampler from Texture
[libs/gl.git] / source / core / texture2d.cpp
index c0a96a4e7e2d43e10e14b58f268d8952fe0ac90c..1e9ec90344e242608caa55501268a08775a54aa2 100644 (file)
@@ -206,7 +206,6 @@ void Texture2D::unload()
        glDeleteTextures(1, &id);
        id = 0;
        allocated = 0;
-       default_sampler.unload();
 }