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

Fix paintGL() #15

Merged
merged 2 commits into from
Feb 28, 2019
Merged

Fix paintGL() #15

merged 2 commits into from
Feb 28, 2019

Conversation

Selot
Copy link

@Selot Selot commented Feb 28, 2019

Added resetState() to avoid Qt affecting Magnum.
Replaced GL::defaultFramebuffer by wrapped QOpenGLWidget::defaultFramebufferObject()
for the ability to do things like a Render-To-Texture.

dd.shipulin added 2 commits February 28, 2019 15:52
- Added resetState() to avoid Qt affecting Magnum.
- Replaced GL::defaultFramebuffer by wrapped QOpenGLWidget::defaultFramebufferObject
for the ability to do things like a Render-To-Texture
@mosra mosra merged commit 0d15693 into mosra:base-qt Feb 28, 2019
@mosra
Copy link
Owner

mosra commented Feb 28, 2019

Thanks a lot! Merged as e288941 (I had to update the #include for GL::Framebuffer as well.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants