winsys/d3d12: Populate winsys handle format
All other winsys handle users do so, and a future commit will start caring about it. Reviewed-by: Bill Kristiansen <billkris@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13054>
This commit is contained in:
@@ -188,6 +188,7 @@ d3d12_wgl_framebuffer_get_resource(struct stw_winsys_framebuffer *pframebuffer,
|
||||
struct winsys_handle handle;
|
||||
memset(&handle, 0, sizeof(handle));
|
||||
handle.type = WINSYS_HANDLE_TYPE_D3D12_RES;
|
||||
handle.format = framebuffer->pformat;
|
||||
handle.com_obj = res;
|
||||
|
||||
D3D12_RESOURCE_DESC res_desc = res->GetDesc();
|
||||
|
||||
Reference in New Issue
Block a user