[fixed] OpenGL under QML text is distorted
I am working on a Qt OpenGL engine under QML but I have some problems when placing text inside QML over the OpenGL view. The paint function is triggered by the beforeRendering() function of the QtQuickWindow as in the OpenGL under QML demo. Here is an image of my problem:
Any ideas what could be the problem?
Found it: The paint method took to long. I did more than painting in it.