Fix bad use of QOpenGLFunctions

- Made it build under Qt6

(0) -100 -30 -10 -2 +2 +10 +30 +100 tip

mercurial