#79 Seperate thread for content loading


Hello, I am creating a game of which requires quite a bit of bitmap/font loading. Since there is a pretty big amount, I want to have a seperate thread for loading that, so that the gameplay doesn't freeze waiting for the images to load. I want the game to keep playing and the image will appear as they are loaded. I just recently switched to freeglut because of the portability between systems. That is great for me, except I would like a few functions to create a new context, make it current, and share the context. These are the three functions I used to get content loading on seperate threads when I was just using OpenGL and Win32 to make the application. I think this would be nice to have inside the library because I will have to include windows.h, xgl.h, etc depending on the platform, which means I will also have to link them to the project.


  • Nobody/Anonymous

    huMOSV Great article. Great.

  • Nobody/Anonymous

    87dqbY Looking forward to reading more. Great blog post.Really thank you!


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks