-
Notifications
You must be signed in to change notification settings - Fork 93
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
D3D11 ERROR: ID3D11Device::CreateTexture2D #280
Comments
sskodje
added a commit
that referenced
this issue
Jan 4, 2024
I believe the issue was that the texture was created on the ID3D11Device of the wrong monitor. Since you are recording from the outputs of two different video cards, there are also two ID3D11Devices, and textures have to be copied with the CPU between them. I pushed a fix with 805abff, let me know if it fixes the issue :) |
Yes, it has been fixed. Thank you for your support. |
yujahyf97
pushed a commit
to yujacorp/ScreenRecorderLib
that referenced
this issue
Apr 19, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi!
My computer has dual monitors. There is no issue when recording the primary screen, but an error occurs when trying to record the secondary screen.
The error message seems to indicate an issue with BindFlags, and I have attempted to modify BindFlags=0. However, when attempting to CopyResource this time, another error occurs.
secondary screen info
DXGI_OUTPUT_DESC
DXGI_ADAPTER_DESC
primary screen info
DXGI_OUTPUT_DESC
DXGI_ADAPTER_DESC
The text was updated successfully, but these errors were encountered: