win-capture/graphics-hook: Log vulkan capture dimensions
parent
141c42c4b5
commit
30e3ef3b49
|
@ -428,8 +428,8 @@ static inline bool vk_shtex_init_d3d11_tex(struct vk_data *data,
|
||||||
desc.MipLevels = 1;
|
desc.MipLevels = 1;
|
||||||
desc.ArraySize = 1;
|
desc.ArraySize = 1;
|
||||||
|
|
||||||
flog("OBS requesting %s texture format",
|
flog("OBS requesting %s texture format. capture dimensions: %dx%d",
|
||||||
vk_format_to_str(swap->format));
|
vk_format_to_str(swap->format), (int)desc.Width, (int)desc.Height);
|
||||||
|
|
||||||
desc.Format = vk_format_to_dxgi(swap->format);
|
desc.Format = vk_format_to_dxgi(swap->format);
|
||||||
desc.SampleDesc.Count = 1;
|
desc.SampleDesc.Count = 1;
|
||||||
|
|
Loading…
Reference in New Issue