I've developed an application using C++ and OpenGL, all the rendering for the application is done using OpenGL. All works fine, but now I need some of the rendering to happen a little quicker. The plan was to create another thread which would just keep rendering the specific part which I believe would work, but nothing gets rendered. After some in-depth research I found that the reason that nothing gets rendered is because the OpenGL commands only work if they are called in the main thread. Is there anyway around this?
Many thanks in advance!