win-capture: Add trick to ensure game cap. shared tex support

This new trick forgoes the use of patches and allows the ability to use
shared GPU resources despite being a Direct3D 9.0c context.
This commit is contained in:
jp9000
2016-08-08 21:54:06 -07:00
parent 27ac2cf940
commit 6d33f7e091
5 changed files with 128 additions and 5 deletions

View File

@@ -33,6 +33,8 @@ struct d3d9_offsets {
uint32_t present;
uint32_t present_ex;
uint32_t present_swap;
uint32_t d3d9_clsoff;
uint32_t is_d3d9ex_clsoff;
};
struct dxgi_offsets {