X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=world_render.h;h=b1972ba546cf7cafd4774294559c7a39eaabbfc2;hb=4af3f141e332ae426ecda80ca4ccd8cf4e84d0cb;hp=4e390368e9f4f51a65283e0534b5e54ef349129a;hpb=6b9993651343af73bd48e2213910bbaadb41edaf;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/world_render.h b/world_render.h index 4e39036..b1972ba 100644 --- a/world_render.h +++ b/world_render.h @@ -49,7 +49,7 @@ VG_STATIC void world_render_init(void) 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;