WGL_ARB_render_texture trouble

Hi, perhaps somebody can help me with this matter: if you download this small VC++ project ( http://www.web-discovery.net/lesson06_pbuffer.zip ), you will see that i’m trying to use wgl_arb_render_texture. The issue is that i should get two textured teapots, one with the bitmap file, one with the pbuffer texture. Instead, all i get are two black teapots, and i cant understand why, since texturing is enabled and textures are correctly loaded.

Remember a pbuffer has it’s own state…