glFramebufferTexture()
is a newer entry point than glBindFramebuffer()
and other FBO related entry points. In the core OpenGL spec, glFramebufferTexture()
was added in 3.2, while the rest of the FBO functionality was part of 3.0. glFramebufferTexture()
was also not part of ARB_framebuffer_object.
You can use glFramebufferTexture2D()
in most cases, which is part of the original FBO functionality. glFramebufferTexture()
is only different for things like texture arrays, cube maps, etc.