Paint function and opengl

Hello, i create OpenGLContext in MainContentComponent. Opengl work in paint function. How create static update rate at paint function?

Sorry, struggling to understand what you’re asking there…?

You mean how should you repaint at 60fps? If so, maybe have a look at the AnimatedAppComponent

yes, thank you.