Original Post
I had a nice class set up encapsulating a pixelbuffer, and I have been trying to extend it so I can use it directly as a texture.
After reading the docs, as far as I can tell this involves adding a few new attributes when I search for a pixel format, namely:
WGL_BIND_TO_TEXTURE_RGB_ARB = true WGL_TEXTURE_FORMAT_ARB = WGL_TEXTURE_RGB WGL_TEXTURE_TARGET_ARB = WGL_TEXTURE_2D_ARBProblem is, my program can't find a pixel format with all of these attributes. I'm running a GF4 Ti4400, which I'm pretty positive supports WGL_ARB_render_texture. The Pbuffer initialises fine if I omit the above attributes from the format search. Has anyone out there got any ideas what might be going wrong? [edited by - Thraddash on March 20, 2003 3:22:01 AM]