renderer: re-use already created textures if the images are known not to change

This commit is contained in:
itsmattkc
2020-02-25 14:57:49 +11:00
parent 5404fa628d
commit faffbb0f38
14 changed files with 118 additions and 98 deletions
+2
View File
@@ -18,6 +18,8 @@ public:
bool Has(K key) const {return values_.contains(key);}
void Remove(K key) {values_.remove(key);}
private:
QHash<K, V> values_;