Paint function and opengl


#1

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


#2

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


#3

yes, thank you.