Rendering problems with release configuration [C++] [VS2010] [GLFW]
I'm using GLFW and everything has been working fine, as long as I'm using the debug configuration in VS2010.
When switching to release, everything's still fine in the debugger. However, when I try to run the program directly using the executable I'm suddenly getting some weird rendering issues.
This is what it's supposed to look like:
This is what it looks like running the .exe from the release configuration (Debug is fine):
The rendering issues are the same every time I run the program.
It's not an issue with the textures, as it's doing the same if I use the same texture for everything.
Does anyone have an idea what could be causing this? It only happens with the release configuration and even then only when running the .exe directly.
I'd post some code, but I really don't know what could be relevant here. It's an awfully specific problem.
I've never encountered a problem like this before.