8 bits depth framebuffer not working