coalesce texture uploads at the beginning of a frame

This commit is contained in:
Konstantin Käfer
2014-08-15 15:10:49 +02:00
parent 69f71e9431
commit 8c2c7f769f
5 changed files with 30 additions and 16 deletions

View File

@@ -558,6 +558,10 @@ void Map::render() {
#if defined(DEBUG)
std::vector<std::string> debug;
#endif
glyphAtlas->upload();
spriteAtlas->upload();
painter.clear();
painter.resetFramebuffer();