D1161: CopyFromMemory Requires CPU Readable Bitmap
This method is not allowed on a bitmap created with D2D1_BITMAP_OPTIONS_CPU_READ.
Possible Causes
This message may occur during a call to ID2D1Bitmap::CopyFromMemory. If the bitmap was created using D2D1_BITMAP_OPTIONS_CPU_READ, Direct2D will report an error and the debug layer will output this message.
Possible Fixes
If it is necessary for an application to call ID2D1Bitmap::CopyFromMemory, ensure that the bitmap is not created as CPU-readable. If it is not possible to change the surface attributes of the bitmap, consider whether there is an equivalent rendering operation for the desired result.
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για