mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-16 07:20:54 +00:00
Remove pointless check
This commit is contained in:
parent
6609243c87
commit
62f5bedef5
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user