Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Frame out of date when capturing games on Windows #131

Open
mikey0000 opened this issue May 1, 2024 · 0 comments
Open

Frame out of date when capturing games on Windows #131

mikey0000 opened this issue May 1, 2024 · 0 comments

Comments

@mikey0000
Copy link

frame does not update when capturing windows that are games.

Way round this is to take the whole monitor and grab the window rect off the monitor. Not sure if there is a better way.

e.g

 let dw_hwnd = GetDesktopWindow();
 let box_hdc_desktop_window: BoxHDC = BoxHDC::from(dw_hwnd);

basically similar to the capture desktop but can set the width and height. This would be a nice feature to be able to capture part of the monitor instead of window.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant