Quote Originally Posted by wysota View Post
Why can't you just put that code in paintGL()?
Because it needs to be calledmultiple times with different parameters.