Jump to content
  • Advertisement
Sign in to follow this  
Jethro_T

SDL_BlitSurface and OpenGL

This topic is 2841 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

To my surprise I just found out that you shouldn't call SDL_BlitSurface or any other pixel manipulating functions if you use SDL to create your OpenGL context. I've been doing this for quite some time, when I render text I blit it to a power of two surface after rendering with SDL_TTF, then build a GL texture from it. It seems to be working so what's wrong with doing it? Does anyone have any info on what functions I shouldn't call, or why exactly some SDL functions shouldn't be called?

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!