1
0
forked from 0ad/0ad

Make sure to actually prevent Atlas from trying to render coastal waves. Fixes #1925

This was SVN commit r13386.
This commit is contained in:
wraitii 2013-05-01 06:47:49 +00:00
parent ac3e9d8bc7
commit 9a0749f3c9

View File

@ -746,7 +746,7 @@ bool TerrainRenderer::RenderFancyWater(const CShaderDefines& context, ShadowMap*
GLuint FramebufferName = 0;
// rendering waves to a framebuffer
if (WaterMgr->m_WaterCoastalWaves)
if (WaterMgr->m_WaterCoastalWaves && !g_AtlasGameLoop->running)
{
// Save the post-processing framebuffer.
GLint fbo;