Skip to content
This repository has been archived by the owner on Aug 5, 2024. It is now read-only.

Crashed when i use dxgi duplication to capture a rotate screen #28

Open
windboy12138 opened this issue Mar 30, 2023 · 1 comment
Open
Assignees
Labels
bug Something isn't working

Comments

@windboy12138
Copy link

I checked the api doc, which says:

In a rotated mode, the surface that you receive from IDXGIOutputDuplication::AcquireNextFrame is always in the un-rotated orientation, and the desktop image is rotated within the surface. For example, if the desktop is set to 768x1024 at 90 degrees rotation, AcquireNextFrame returns a 1024x768 surface with the desktop image rotated within it.
Maybe the code missed this point.

@peilinok peilinok self-assigned this Mar 30, 2023
@peilinok peilinok added the bug Something isn't working label Mar 30, 2023
@peilinok
Copy link
Owner

Thanks for your feedback, I will check this later

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants