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

Set GL_DEPTH_BUFFER_BIT when blitting the depth buffer to the screen. #126

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Nov 4, 2022

  1. Set GL_DEPTH_BUFFER_BIT when blitting the depth buffer to the screen.

    (Fixes a copy-paste bug, previously the GL_STENCIL_BUFFER_BIT was being set.)
    LukasRuppert committed Nov 4, 2022
    Configuration menu
    Copy the full SHA
    b17b828 View commit details
    Browse the repository at this point in the history
  2. Disable blitting depth or stencil buffers to the screen if multisampl…

    …ing is enabled in the texture.
    
    (Blitting a multisampled texture into a single-sample screen results in a GL_INVALID_OPERATION.)
    Should there be a warning if blitting is not possible?
    LukasRuppert committed Nov 4, 2022
    Configuration menu
    Copy the full SHA
    de3221f View commit details
    Browse the repository at this point in the history