don't copy the model list. It can be very big - using pointer now,
garbage is not from the texture or object changes
This commit is contained in:
@@ -70,7 +70,7 @@ private:
|
||||
// ========================================
|
||||
|
||||
// data
|
||||
std::vector<Modl*> vModels;
|
||||
std::vector<Modl*>* vModels = NULL;
|
||||
std::vector<textureData*> vTextures;
|
||||
|
||||
// transformation =========================
|
||||
|
||||
Reference in New Issue
Block a user