Quote Originally Posted by User137
Execute doesn't free on exit but it sets Finished variable true. Main application loop checks in its start if Finished is set and then do the Finish; to bind texture and fill the data in with glTexImage2D().
Yeah, this is one of solution, but this is not so interesting as two independent threads And if I get a fail, I will use this method to load the resources(decoding in separate thread and uploading to videocard in main thread).