Corrected small rendering problem

master
Tomasz Kapuściński 2015-06-25 11:47:42 +02:00
parent 3cc2857372
commit 37e2f24fbc
1 changed files with 4 additions and 0 deletions

View File

@ -3238,6 +3238,8 @@ void CEngine::Render()
RenderShadowMap();
// Begin the scene
m_device->SetRenderState(RENDER_STATE_DEPTH_WRITE, true);
m_device->BeginScene();
UseMSAA(true);
@ -3257,6 +3259,8 @@ void CEngine::Render()
void CEngine::Draw3DScene()
{
m_device->SetRenderState(RENDER_STATE_DEPTH_TEST, false);
if (m_groundSpotVisible)
UpdateGroundSpotTextures();