mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-28 19:21:04 +00:00
Remove pointless check
This commit is contained in:
parent
6609243c87
commit
62f5bedef5
@ -238,7 +238,7 @@ namespace MWRender
|
|||||||
}
|
}
|
||||||
|
|
||||||
mGLSLVersion = ext->glslLanguageVersion * 100;
|
mGLSLVersion = ext->glslLanguageVersion * 100;
|
||||||
mUBO = ext && ext->isUniformBufferObjectSupported && mGLSLVersion >= 330;
|
mUBO = ext->isUniformBufferObjectSupported && mGLSLVersion >= 330;
|
||||||
mStateUpdater = new fx::StateUpdater(mUBO);
|
mStateUpdater = new fx::StateUpdater(mUBO);
|
||||||
|
|
||||||
if (!Stereo::getStereo() && !SceneUtil::AutoDepth::isReversed() && !mSoftParticles && !mUsePostProcessing)
|
if (!Stereo::getStereo() && !SceneUtil::AutoDepth::isReversed() && !mSoftParticles && !mUsePostProcessing)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user