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

Make IDXGISwapChain buffer cast conditional #1728

Merged
merged 1 commit into from
Sep 7, 2024

Commits on Sep 6, 2024

  1. Make IDXGISwapChain buffer cast conditional

    At replay, the buffer returned by IDXGISwapChain::GetBuffer was always
    cast to an ID3D12Resource type, which can lead to a crash when the
    caller requests a different type.
    
    With this change, the returned buffer is only processed as an
    ID3D12Resource type when the caller specifically requests an
    ID3D12Resource type.
    dgraves committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    3982df1 View commit details
    Browse the repository at this point in the history