Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2009-08-12 14:58:22 +0000
committerStijn Buys <ingar@osirion.org>2009-08-12 14:58:22 +0000
commite8f928ab56d581cb06ec10c2da2cb6706bca6bb3 (patch)
treeabd47ccee36625ad48957b56a5c6a79ff8d433ea /src/render/textures.cc
parent496a8de5147b79c47b4e6412794e6437a2b31e33 (diff)
corrected .map texture coordinates
Diffstat (limited to 'src/render/textures.cc')
-rw-r--r--src/render/textures.cc2
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);
}