mirror of
https://github.com/OpenMW/openmw.git
synced 2025-12-12 17:43:05 +00:00
use more explicit null check
This commit is contained in:
parent
759739ecca
commit
064b8d3f9b
1 changed files with 1 additions and 1 deletions
|
|
@ -316,7 +316,7 @@ namespace MWRender
|
|||
|
||||
drawGeometry(renderInfo);
|
||||
|
||||
if (pass.mRenderTexture && pass.mRenderTexture->getNumMipmapLevels() > 0)
|
||||
if (pass.mRenderTarget && pass.mRenderTexture->getNumMipmapLevels() > 0)
|
||||
{
|
||||
state.setActiveTextureUnit(0);
|
||||
state.applyTextureAttribute(0,
|
||||
|
|
|
|||
Loading…
Reference in a new issue