• Advertisement
Sign in to follow this  

Problems rendering with SDL under release build

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

Hi! I'v got some problems with rendering with SDL. I get the window and I can set the background color but it won't render any of the primitive operations (points or triangels). It worked nice when I used my debug configuration for building, but for the release build i get nothing. Has anyone had similar problems before, or know what could case this?

Share this post


Link to post
Share on other sites
Advertisement
How are you setting the projection and modelview matrices? I have a sneaky suspicion the problem lies there.

Share this post


Link to post
Share on other sites
yes, that was my first thought too but since it's working perfectly when im building it in debug mode I'm quite surtain that it can't be that.

I somehow managed to make the debug verison to behave similar too now, wihout any alteration to the code just by mixturing with the project properties. I switched between multithreaded dll and the regular one, and I also tried to mixture with the /nondefaultlib byincluding the MSVCRTD.lib libc.lib

I can't figure out what caused that.

Share this post


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

  • Advertisement