https://bugs.freedesktop.org/show_bug.cgi?id=39193
--- Comment #6 from Michel Dänzer michel@daenzer.net 2011-09-22 08:07:34 PDT --- Note that a bug shouldn't be resolved before the fix lands in Git, but it has now.
BTW, I was confused for a while by a latent bug of the test program: It leaves bound_texture uninitialized, and when it ends up being 0, the texture fails to attach to the framebuffer, and that ends up incomplete.