- // Allocate an FBO used for the given internal format and dimensions,
- // or fetch a previous used if possible. Keeps ownership of the FBO;
- // you must call release_fbo() of deleting it when you no longer want it.
- // You can get an appropriate context pointer from get_gl_context_identifier().
+ // Allocate an FBO with the the given texture bound as a framebuffer attachment,
+ // or fetch a previous used if possible. Unbinds GL_FRAMEBUFFER afterwards.
+ // Keeps ownership of the FBO; you must call release_fbo() of deleting
+ // it when you no longer want it. You can get an appropriate context
+ // pointer from get_gl_context_identifier().