Skip to content

Commit

Permalink
Disable RTV for Copy pass
Browse files Browse the repository at this point in the history
It's not used and it can cause problems if the source or destination
texture is not a RenderTarget.
It also silences any DontCare issues.
  • Loading branch information
darksylinc committed Dec 15, 2024
1 parent 0d20133 commit 2afdd8d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ namespace Ogre
CompositorPass( definition, parentNode ),
mDefinition( definition )
{
initialize( rtv );
initialize( 0, true );
}
//-----------------------------------------------------------------------------------
void CompositorPassDepthCopy::execute( const Camera *lodCamera )
Expand Down

0 comments on commit 2afdd8d

Please sign in to comment.