I am trying to follow the tutorial from the wiki, but as soon as I try to just draw a cube over the camera image, I get this:
(http://i.imgur.com/r8UY8wv.png)
I think this might be related to the depth buffer? How can I fix it?
Hard to tell. Looks somehow as if the depth buffer doesn't get cleared, but that wouldn't make much sense.
How are you initializing the actual GL context?