1
0
Fork 0
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:
Cody Glassman 2025-07-09 11:49:38 -07:00
parent 759739ecca
commit 064b8d3f9b

View file

@ -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,