1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-04-02 01:06:40 +00:00

Remove pointless check

This commit is contained in:
Andrei Kortunov 2022-07-02 23:13:44 +04:00
parent 6609243c87
commit 62f5bedef5

View file

@ -238,7 +238,7 @@ namespace MWRender
}
mGLSLVersion = ext->glslLanguageVersion * 100;
mUBO = ext && ext->isUniformBufferObjectSupported && mGLSLVersion >= 330;
mUBO = ext->isUniformBufferObjectSupported && mGLSLVersion >= 330;
mStateUpdater = new fx::StateUpdater(mUBO);
if (!Stereo::getStereo() && !SceneUtil::AutoDepth::isReversed() && !mSoftParticles && !mUsePostProcessing)