Check whether the framebuffer has color texture or not before return.