Trying to thread my program but got this error message: "Failed to swap buffers for context 196608 Current. Error 6."
The process is that the data is passed to a thread and rendering goes on in there and them displayed.