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

[D3D9] Fix for back buffer data loss during D3D9 present #2967

Closed

Commits on Oct 4, 2022

  1. [D3D9] Fix for back buffer data loss during D3D9 present. (doitsujin#16)

    Acording to the D3D9 spec the content of the back buffer can be altered only if the SwapEffect is D3DSWAPEFFECT_DISCARD. The current implementation of the front buffer caused the previous back buffers to have their content lost.
    
    This change keeps a similar present back buffer swapping logic for D3DSWAPEFFECT_DISCARD. For other swap effects the front buffer is a copy of the last presented back buffer.
    mpyrzows authored and adamjer committed Oct 4, 2022
    Configuration menu
    Copy the full SHA
    db6a8ed View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9f41b41 View commit details
    Browse the repository at this point in the history