Log in

View Full Version : updatePaintNode broken with ANGLE/AA_UseOpenGLES ??



twisted89
9th May 2018, 16:35
I've been trying to create my own custom QQuickItem using updatePaintNode for the rendering, I've used an example as a base for testing and it seems that using ANGLE for rendering completely breaks it and results in a blank window. Is this a bug or am I missing something here?

An example project is attached and was originally compiled/tested under Qt 5.10. It's currently setup in main.cpp to use "AA_UseOpenGLES" which causes the clock to not show, comment that out and use AA_UseDesktopOpenGL and it will show up fine.

Any help would be greatly appreciated.


EDIT:

Ignore, fixed it by changing
setDrawingMode(GL_POLYGON);

to

setDrawingMode(QSGGeometry::DrawTriangleFan);