graphics: refactor screenshots (#860)

First commit - pure refactoring, no functional changes

Second commit - clean up & minor bug fix.
This commit is contained in:
bicarus
2026-08-09 20:47:38 -07:00
committed by GitHub
parent 2386047c2f
commit 3da352488e
4 changed files with 366 additions and 326 deletions
@@ -0,0 +1,9 @@
#pragma once
#include <d3d9.h>
void graphics_d3d9_poll_screenshot_hotkey();
void graphics_d3d9_process_screenshot_and_capture(
IDirect3DDevice9 *device,
IDirect3DSwapChain9 *sub_swap_chain);