Remove pointless null check

post_malone
Andrei Kortunov 3 years ago
parent e97172bbb2
commit 1274a229d1

@ -56,7 +56,7 @@ namespace MWRender
postProcessor->getStateUpdater()->setEyePos(cv->getEyePoint());
postProcessor->getStateUpdater()->setEyeVec(cv->getLookVectorLocal());
if (!postProcessor || !postProcessor->getFbo(PostProcessor::FBO_Primary, frameId))
if (!postProcessor->getFbo(PostProcessor::FBO_Primary, frameId))
{
renderStage->setMultisampleResolveFramebufferObject(nullptr);
renderStage->setFrameBufferObject(nullptr);

Loading…
Cancel
Save