How do I enable multisampling when I create the window? How should I initialize OpenGL to match?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Took me a while to figure this one out.
The trick is to use a
QSurfaceFormatin yourQWindow‘s constructor like so:And later, when initialising OpenGL: