diff --git a/RenderSystems/Metal/src/OgreMetalTextureGpuManager.mm b/RenderSystems/Metal/src/OgreMetalTextureGpuManager.mm index cd7f2dbc58..43fc1be45a 100644 --- a/RenderSystems/Metal/src/OgreMetalTextureGpuManager.mm +++ b/RenderSystems/Metal/src/OgreMetalTextureGpuManager.mm @@ -163,7 +163,7 @@ of this software and associated documentation files (the "Software"), to deal return OGRE_NEW MetalTextureGpuRenderTarget( GpuPageOutStrategy::Discard, mVaoManager, "RenderWindow DepthBuffer", TextureFlags::NotTexture | TextureFlags::RenderToTexture | - ( bMemoryLess && allowMemoryless() ? TextureFlags::TilerMemoryless : 0 ) | + ( ( bMemoryLess && allowMemoryless() ) ? TextureFlags::TilerMemoryless : 0 ) | TextureFlags::RenderWindowSpecific | TextureFlags::DiscardableContent, TextureTypes::Type2D, this ); }