Expose preview adapter info from GVFG helper

- Add adapter_name and adapter_index to gvfg_preview_info_t
- Capture the actual D3D11 adapter used by gvfg_preview.dll
- Report adapter name and DXGI index through gvfg_preview_get_info()
This commit is contained in:
Mark.lin
2026-07-07 17:29:03 +08:00
parent f21c0b651f
commit 7234619dcb
2 changed files with 71 additions and 0 deletions
@@ -44,6 +44,8 @@ typedef struct
int height;
int bit_depth;
char pixel_format[32];
char adapter_name[160];
int adapter_index;
} gvfg_preview_info_t;
GVFG_PREVIEW_API gvfg_preview_status_t gvfg_preview_create(