Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/game/StarWorldClient.hpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2025-03-09 08:26:51 +1100
committerKae <80987908+Novaenia@users.noreply.github.com>2025-03-09 08:26:51 +1100
commit0fe21a8bb81c151d7f7427e788ca8cc576fe2778 (patch)
treeb9febe5e2868398c57a74823dc6ecc89a7e91ce4 /source/game/StarWorldClient.hpp
parentd90cd2363a0b1d9186732719c658e942f78e7c8e (diff)
speculative fix for lightmap flicker
can't tell what's going on here - is lighting calculation being ran when the point lights aren't populated? weird
Diffstat (limited to 'source/game/StarWorldClient.hpp')
-rw-r--r--source/game/StarWorldClient.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/game/StarWorldClient.hpp b/source/game/StarWorldClient.hpp
index 502a928..3c8728d 100644
--- a/source/game/StarWorldClient.hpp
+++ b/source/game/StarWorldClient.hpp
@@ -285,6 +285,7 @@ private:
List<LightSource> m_pendingLights;
List<std::pair<Vec2F, Vec3F>> m_pendingParticleLights;
RectI m_pendingLightRange;
+ atomic<bool> m_pendingLightReady;
Vec2I m_lightMinPosition;
List<PreviewTile> m_previewTiles;