mirror of
https://github.com/OpenMW/openmw.git
synced 2025-04-18 03:36:45 +00:00
Use proper variable to check in if condition
This commit is contained in:
parent
2f75acc34e
commit
18d05c8f1a
1 changed files with 2 additions and 2 deletions
|
@ -167,8 +167,8 @@ namespace Stereo
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
auto targetTextureObject = texture.getTextureObject(contextId);
|
osg::Texture::TextureObject* const targetTextureObject = texture.getTextureObject(contextId);
|
||||||
if (!sourceTextureObject)
|
if (targetTextureObject == nullptr)
|
||||||
{
|
{
|
||||||
Log(Debug::Error) << "Texture2DViewSubloadCallback: Texture2D did not have a texture object";
|
Log(Debug::Error) << "Texture2DViewSubloadCallback: Texture2D did not have a texture object";
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue