Problems rendering with SDL under release build

Started by
1 comment, last by scaprio 17 years, 11 months ago
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?
Advertisement
How are you setting the projection and modelview matrices? I have a sneaky suspicion the problem lies there.
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.

This topic is closed to new replies.

Advertisement