fb->resolution_div = 0;
fb->attachments[0].display_name = NULL;
- fb->attachments[0].purpose = k_framebuffer_attachment_type_colour;
+ fb->attachments[0].purpose = k_framebuffer_attachment_type_texture;
fb->attachments[0].internalformat = GL_RG16F;
fb->attachments[0].format = GL_RG;
fb->attachments[0].type = GL_FLOAT;