Jump to content
  • Advertisement
Sign in to follow this  
muffinpeddler

SDL + GL rendering glitches

This topic is 4908 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

Okay, well I am using GL through SDL, and when I draw 3D shapes, they start out fine, but when I resize the window (I am passing resize events, etc.), the shapes get all freaky, with the pyramid being see through and the cube being see through and seems to have lost a top layer. Any suggestions? Oh yea, this ONLY happens on windows, so could it be a problem with SDL? I am using SDL 1.2.7, but it works fine on linux. Thanks.

Share this post


Link to post
Share on other sites
Advertisement
Hey, thanks for the reply. Turns out the error was somewhere else. I was changing the SDL_Surface of my frame and also resizing it to create a bad mixture on every resize. Fixed! Thanks.

Share this post


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

  • Advertisement
×

Important Information

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

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!