Upcios / PyQtSamples

Some examples written in PyQt, the Python binding for Qt application framework.
MIT License
30 stars 6 forks source link

Fix segfault and name of createFramebufferObject override #3

Open vfrenkel opened 4 years ago

vfrenkel commented 4 years ago

The QOpenGLFramebufferObject needs to be stored in the Renderer before returning so it isn't garbage collected; this was the cause of a segfault. The createFrameBufferObject method is a typo, should be a lowercase 'b' for the code to be run.