Browse Source

win-capture/graphics-hook: Log vulkan capture dimensions

jp9000 5 years ago
parent
commit
30e3ef3b49
1 changed files with 2 additions and 2 deletions
  1. 2 2
      plugins/win-capture/graphics-hook/vulkan-capture.c

+ 2 - 2
plugins/win-capture/graphics-hook/vulkan-capture.c

@@ -428,8 +428,8 @@ static inline bool vk_shtex_init_d3d11_tex(struct vk_data *data,
 	desc.MipLevels = 1;
 	desc.ArraySize = 1;
 
-	flog("OBS requesting %s texture format",
-	     vk_format_to_str(swap->format));
+	flog("OBS requesting %s texture format.  capture dimensions: %dx%d",
+	     vk_format_to_str(swap->format), (int)desc.Width, (int)desc.Height);
 
 	desc.Format = vk_format_to_dxgi(swap->format);
 	desc.SampleDesc.Count = 1;