Επεξεργασία

Κοινή χρήση μέσω


D1168: Write Map Option Requires CPU Writable Bitmap

D2D1_MAP_OPTIONS_WRITE is only valid on a CPU writeable bitmap

 

Possible Causes

Direct2D may output this message if an application calls ID2D1Bitmap1::Map with the D2D1_MAP_OPTIONS_WRITE attribute, but the bitmap is not CPU-writable.

Possible Fixes

If an application requires write access using ID2D1Bitmap1::Map, ensure the underlying Direct3D resource has the D3D11_CPU_ACCESS_WRITE attribute.