Skip to content

Conversation

@LukasRuppert
Copy link

Hi, I just had a look through the code and found what looks like a simple copy-paste bug.
When blitting to the screen, the stencil bit would be set instead of the depth buffer bit.

@wjakob wjakob force-pushed the master branch 11 times, most recently from e9c6fc9 to 0f47fe0 Compare October 27, 2022 21:06
@LukasRuppert LukasRuppert force-pushed the fix_deph_buffer_blit branch 2 times, most recently from 6c85fd3 to 2b9f30a Compare November 4, 2022 09:57
(Fixes a copy-paste bug, previously the GL_STENCIL_BUFFER_BIT was being set.)
…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?
@wjakob wjakob force-pushed the master branch 9 times, most recently from 654b8a5 to 1cbff2e Compare August 29, 2025 18:29
@wjakob wjakob force-pushed the master branch 4 times, most recently from a634dc0 to 32f7bed Compare September 1, 2025 14:59
@wjakob wjakob force-pushed the master branch 21 times, most recently from c75898b to 1bbd038 Compare September 6, 2025 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant