Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 1.07 KB

d1174.md

File metadata and controls

37 lines (24 loc) · 1.07 KB
title ms.assetid description keywords topic_type api_name api_type ms.topic ms.date
D1174 PushLayer To Command List Will Ignore Layer Object
bf3dda94-60a2-4afe-84b5-f71377f41215
When pushing a (non-NULL) layer to a command list, the layer object will be ignored.
D1174 PushLayer To Command List Will Ignore Layer Object Direct2D
apiref
D1174 PushLayer To Command List Will Ignore Layer Object
NA
reference
05/31/2018

D1174: PushLayer To Command List Will Ignore Layer Object

When pushing a (non-NULL) layer to a command list, the layer object will be ignored.

 

Possible Causes

When a PushLayer command uses an ID2D1Layer object, and the target is a command list, Direct2D will behave as if no layer was specified, and will not impose fixed boundaries on the layer if the command list is later rendered.

Possible Fixes

Applications that anticipate streaming commands to a command list should consider using NULL layer objects, or otherwise be aware that the size restriction settings specified in the ID2D1Layer object will not be honored.