win-capture: Typeless game capture textures
Modify game capture shared textures to be typeless if they could potentially need SRGB and non-SRGB views in the future. These capture APIs have been updated: D3D 10/11/12, Vulkan. D3D8 capture does not use shared textures. D3D9 and GL interop do not support typeless textures. The new game capture DLL should be compatible with old versions of OBS. Also removed a lot of dead code around pointless SRV/RTV support.
This commit is contained in:
@@ -108,6 +108,7 @@ struct hook_info {
|
||||
bool UNUSED_use_scale;
|
||||
bool force_shmem;
|
||||
bool capture_overlay;
|
||||
bool allow_srgb_alias;
|
||||
|
||||
/* hook addresses */
|
||||
struct graphics_offsets offsets;
|
||||
|
Reference in New Issue
Block a user