I’ve got my application to the point where it is drawing two red triangles to my screen. So far, so good. Except that, about one in four times, it doesn’t draw - I get a black screen instead. This is without changing any code or anything - I start the program once, it draws fine; next time, black screen.
Now, it’s a rather large application, so I’m reluctant to make you all wade through the whole code. Can anyone think of some common newbie error that might cause this? If not, I’ll post the rendering code for you all to pick through. I am myself totally baffled; computers should be deterministic, curse it! ???