21 Jul
2025
21 Jul
'25
7:39 a.m.
On Mon Jul 21 06:32:52 2025 +0000, Zhiyi Zhang wrote:
Drawing a bitmap from a DXGI subresource surface with more than one subresource does work on Windows. However, the bitmap must be created with ID2D1DeviceContext_CreateSharedBitmap, not ID2D1DeviceContext_CreateBitmapFromDxgiSurface. I still don't think you can simply use Texture2DArray, for effects to work for example there is a convention that you use Texture2D I believe. There are some templates in SDK for that.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/8243#note_110479