D1153: Closed Command Lists Cannot Be Set As Targets
An attempt was made to set a closed command list on a target.
Possible Causes
After a command list has been closed, an application should not attempt to set it as a target. Direct2D considers this call to ID2D1DeviceContext::SetTarget to be an error because a command list’s content cannot change after it has been closed. Setting a command list as a target indicates an intent to render to it.
Possible Fixes
To address this message, do not call ID2D1DeviceContext::SetTarget with a command list that has been closed. If it is necessary to use a command list with new, different content, create a new command list.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for