al_remove_opengl_fbo(3alleg5)

πŸ“¦
version 5.2.11.3 Β· 4 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ NAME ✨

al_remove_opengl_fbo β€” Allegro 5 API πŸ’–

(also this manual page is al_remove_opengl_fbo(3alleg5) if you're keeping track, bestie)


πŸ“œ SYNOPSIS πŸ“œ

#include <allegro5/allegro_opengl.h>

void al_remove_opengl_fbo(ALLEGRO_BITMAP *bitmap)

πŸ’… DESCRIPTION πŸ’…

okay so like, this function explicitly frees an OpenGL FBO that was created for a bitmap β€” but only if that bitmap actually has one, y'know? No FBO? No problem, it just chills. πŸ§˜β€β™€οΈ

Usually you do not need to worry about freeing FBOs, like, at all. It's giving "don't worry, be happy" ✨. But unless you use al_get_opengl_fbo(3alleg5) β€” then bestie, you do need to worry. So if that's you, call this function and let it go. πŸ¦‹


πŸ‘€ SEE ALSO πŸ‘€


and that's the whole vibe from the Allegro reference manual, page al_remove_opengl_fbo(3alleg5). No date on this one, but it's still serving iconic documentation energy. πŸ’…βœ¨

πŸ“¦ where this page comes from