Change type of framebuffer variable.