added check for framebuffer object extension