coalesce texture uploads at the beginning of a frame
This commit is contained in:
@@ -558,6 +558,10 @@ void Map::render() {
|
||||
#if defined(DEBUG)
|
||||
std::vector<std::string> debug;
|
||||
#endif
|
||||
|
||||
glyphAtlas->upload();
|
||||
spriteAtlas->upload();
|
||||
|
||||
painter.clear();
|
||||
|
||||
painter.resetFramebuffer();
|
||||
|
||||
Reference in New Issue
Block a user