diff options
Diffstat (limited to 'game/scenary/illuminator.h')
-rw-r--r-- | game/scenary/illuminator.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/game/scenary/illuminator.h b/game/scenary/illuminator.h index 1c493b2..893e5c7 100644 --- a/game/scenary/illuminator.h +++ b/game/scenary/illuminator.h @@ -11,7 +11,8 @@ class Texture; class Illuminator : public Asset, public Renderable, public StdTypeDefs<Illuminator> { Mesh::Ptr bodyMesh; std::shared_ptr<Texture> texture; - glVertexArray instanceVAO, instancesSpotLightVAO, instancesPointLightVAO; + glVertexArray instanceVAO; + std::optional<glVertexArray> instancesSpotLightVAO, instancesPointLightVAO; public: struct LightCommonVertex { |