1008-fix
Bartosz Cieśla 2018-10-13 10:12:41 +02:00
parent abf1a60a86
commit 7c88a6e667
1 changed files with 3 additions and 1 deletions

View File

@ -4048,7 +4048,9 @@ void CEngine::UseMSAA(bool enable)
}
}
framebuffer->Bind();
if (framebuffer != nullptr) {
framebuffer->Bind();
}
m_device->SetRenderState(RENDER_STATE_DEPTH_TEST, true);
m_device->SetRenderState(RENDER_STATE_DEPTH_WRITE, true);