https://bugs.kde.org/show_bug.cgi?id=433484

--- Comment #10 from Manuel Geißer <geisse...@gmail.com> ---
I have created a simple patch for STA that appears to work for me (first time
ever that I write some c++). I'm not sure what to do about this format thing.
Is it still necessary for QOpenGLWidget? If so, how do you do it? I looked at
QSurfaceFormat but it appears not to provide the methods used.

10c10,11
< #include <QGLWidget>
---
> // #include <QGLWidget>
> #include <QOpenGLWidget>
152,158c153,159
<       QGLFormat format;
<       format.setSampleBuffers(true);
<       format.setStencil(true);
<       format.setAlpha(true);
<       format.setRgba(true);
<       format.setDepth(false);
< 
---
>       //QGLFormat format;
>       //format.setSampleBuffers(true);
>       //format.setStencil(true);
>       //format.setAlpha(true);
>       //format.setRgba(true);
>       //format.setDepth(false);
>       
160,162c161,163
<       format.setDirectRendering(false);
< 
<       setViewport(new QGLWidget(format));
---
>       //format.setDirectRendering(false);
>         
>       setViewport(new QOpenGLWidget());

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to