Re: [AD] Conserving OpenGL FBOs

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On 2011-03-04, at 5:37 PM, Peter Wang wrote:
> How about a flag on the bitmap once al_get_opengl_fbo is called on it?
> Thereafter the bitmap will retain its FBO until the bitmap is destroyed
> or al_remove_opengl_fbo is called.

Ya, that could work. I was thinking about reference counting and an
al_release_opengl_fbo but that's harder to manage I think.

Trent




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/