mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-02 05:39:41 +00:00
Merge branch 'fix_if_condition' into 'master'
Use proper variable to check in if condition See merge request OpenMW/openmw!1873
This commit is contained in:
commit
12a8a6b876
1 changed files with 2 additions and 2 deletions
|
@ -167,8 +167,8 @@ namespace Stereo
|
|||
return;
|
||||
}
|
||||
|
||||
auto targetTextureObject = texture.getTextureObject(contextId);
|
||||
if (!sourceTextureObject)
|
||||
osg::Texture::TextureObject* const targetTextureObject = texture.getTextureObject(contextId);
|
||||
if (targetTextureObject == nullptr)
|
||||
{
|
||||
Log(Debug::Error) << "Texture2DViewSubloadCallback: Texture2D did not have a texture object";
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue