summaryrefslogtreecommitdiff
path: root/game/scenary/foliage.h
diff options
context:
space:
mode:
Diffstat (limited to 'game/scenary/foliage.h')
-rw-r--r--game/scenary/foliage.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/game/scenary/foliage.h b/game/scenary/foliage.h
index bf98d55..c599649 100644
--- a/game/scenary/foliage.h
+++ b/game/scenary/foliage.h
@@ -12,8 +12,8 @@ class Location;
class Foliage : public Asset, public Renderable, public StdTypeDefs<Foliage> {
Mesh::Ptr bodyMesh;
Texture::Ptr texture;
- glVertexArray instanceVAO;
- glVertexArray instancePointVAO;
+ std::shared_ptr<glVertexArray> instanceVAO, instancePointVAO;
+ static std::weak_ptr<glVertexArray> commonInstanceVAO, commonInstancePointVAO;
public:
[[nodiscard]] std::any createAt(const Location &) const override;