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

Conversation

Projects
None yet
2 participants
@Selot
Copy link

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 some commits Feb 28, 2019

dd.shipulin
Fixed paintGL():
- 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

This comment has been minimized.

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.)

@mosra mosra added this to the 2019.0b milestone Feb 28, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.