Fixes uninitialized water textures.

Fixes #8052
This commit is contained in:
Vladislav Belov
2025-10-05 13:32:09 +02:00
parent e1d5e92c2a
commit 199f4cb666
3 changed files with 20 additions and 0 deletions
+2
View File
@@ -300,6 +300,7 @@ void WaterManager::RecreateOrLoadTexturesIfNeeded()
g_RenderingOptions.SetWaterReflection(false);
UpdateQuality();
}
m_ReflectionFramebufferInitialized = false;
}
// Create refraction textures.
@@ -342,6 +343,7 @@ void WaterManager::RecreateOrLoadTexturesIfNeeded()
g_RenderingOptions.SetWaterRefraction(false);
UpdateQuality();
}
m_RefractionFramebufferInitialized = false;
}
const float scale{g_Renderer.GetPostprocManager().IsEnabled()