mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-utils: Implement D3DGetDebugInfo().
This commit is contained in:
committed by
Alexandre Julliard
parent
b63c853688
commit
247eaa6b7d
Notes:
Alexandre Julliard
2023-10-18 22:51:37 +02:00
Approved-by: Matteo Bruni (@Mystral) Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/414
@@ -759,6 +759,13 @@ HRESULT WINAPI D3DGetBlobPart(const void *data, SIZE_T data_size, D3D_BLOB_PART
|
||||
return get_blob_part(data, data_size, part, flags, blob);
|
||||
}
|
||||
|
||||
HRESULT WINAPI D3DGetDebugInfo(const void *data, SIZE_T data_size, ID3DBlob **blob)
|
||||
{
|
||||
TRACE("data %p, data_size %lu, blob %p.\n", data, data_size, blob);
|
||||
|
||||
return get_blob_part(data, data_size, D3D_BLOB_DEBUG_INFO, 0, blob);
|
||||
}
|
||||
|
||||
void vkd3d_utils_set_log_callback(PFN_vkd3d_log callback)
|
||||
{
|
||||
vkd3d_set_log_callback(callback);
|
||||
|
Reference in New Issue
Block a user