Problem with applying a OpenGL Shader in a Thread
-
I have a problem with adding Shaders to an OpenGL Widget while in a Thread.
I have uploaded the code here: "https://github.com/odie42/qtopengl":https://github.com/odie42/qtopengl
It seems to load the shaders, but doesn't update the buffer or something. I can't figure out why the shader/geometry isn't displayed.
The code works if i just change the background color with qGlClearColor() and then call updateGL(). (I mean i can see a change in the GLWidget)