mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 20:10:17 +01:00
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:
parent
2771fd4a3f
commit
31c7a04b47
1 changed files with 1 additions and 0 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue