wxGLCanvas and OpenGL framebuffer objects

Gregory.A.Book at gmail.com Gregory.A.Book at gmail.com
Fri May 2 13:36:01 PDT 2008



I'm making an opengl/wxwidgets application and I'm trying to implement
framebuffer objects. I've had no success so far in getting the FBO to
work in the wxwidgets application, however I have identical OpenGL
code in a GLUT application and it works correctly. Theres a good
chance that I have a bug in the wx app, but I have been going over and
over it for several days. The only difference I can find is that one
app uses wxglcanvas and the other uses glut. I'm wondering if
wxWidgets sets up the gl canvas the same way as glut does, or that wx
doesn't create offscreen buffers. Has anyone had success using FBO in
wxglcanvas?


More information about the wx-users mailing list