Reputation: 11
I'm working on a 2D engine, it's written in C++ and I use Microsoft Visual Studio 2010 on Windows 7 64 bit.
I use OpenGL for hardware acceleration, and am now experimenting with framebuffers for using textures as canvas. (For things like allowing the user to paint on the screen)
Now this framebuffer works fine, as long as I start the program with the debugger attached (F5)
If I start the program from outside the IDE, or start it without the debugger (CTRL+F5), I can't paint to the texture, but get flickering and OpenGL stack underflow errors every frame.
Upvotes: 1
Views: 177
Reputation: 182639
I can't be sure, but it could be one of several things:
Upvotes: 1