Skip to content

Conversation

ThomasMiz
Copy link
Contributor

Summary of the PR

Implemented multisample support for the window's framebuffer, as highlighted in issue #641.

@ThomasMiz ThomasMiz requested a review from Perksey as a code owner October 24, 2021 17:24
@ThomasMiz
Copy link
Contributor Author

Currently working fine with GLFW.

SDL seems to be having problems, I can see the window hints being set correctly before context creation but I can't find what the problem is. Input isn't working either for me.

@ThomasMiz
Copy link
Contributor Author

Latest commit provides a fix for SDL problems. Many attributes that are set on context creation seem to require to be actually set before window creation. Changing this fixes problems where SDL was not recognizing certain attributes being set.

This fixed multisampling not working on SDL, plus the SDL backend now recognizes the PreferredDepthBufferBits and PreferredStencilBufferBits options, which should fix #662.

@Perksey Perksey merged commit 892f524 into main Nov 1, 2021
@Perksey Perksey deleted the feature/samples-window-option branch November 1, 2021 10:10
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.

2 participants