diff options
author | Stijn Buys <ingar@osirion.org> | 2009-08-12 14:58:22 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2009-08-12 14:58:22 +0000 |
commit | e8f928ab56d581cb06ec10c2da2cb6706bca6bb3 (patch) | |
tree | abd47ccee36625ad48957b56a5c6a79ff8d433ea /src/render | |
parent | 496a8de5147b79c47b4e6412794e6437a2b31e33 (diff) |
corrected .map texture coordinates
Diffstat (limited to 'src/render')
-rw-r--r-- | src/render/textures.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/render/textures.cc b/src/render/textures.cc index 8d180b7..6817aa5 100644 --- a/src/render/textures.cc +++ b/src/render/textures.cc @@ -79,6 +79,7 @@ void Textures::clear() if (textures[i]) { glDeleteTextures(1, &textures[i]); } + texture_size[i].clear(); } registry.clear(); @@ -94,6 +95,7 @@ void Textures::unload(const std::string &name) if (textures[id]) { glDeleteTextures(1, &textures[id]); textures[id] = 0; + texture_size[id].clear(); } registry.erase(it); } |