mirror of
https://github.com/OpenMW/openmw.git
synced 2025-04-26 05:06:48 +00:00
Remove pointless check
This commit is contained in:
parent
6609243c87
commit
62f5bedef5
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue