projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update vg
[carveJwlIkooP6JGAAIwe30JlM.git]
/
world_render.h
diff --git
a/world_render.h
b/world_render.h
index 4e390368e9f4f51a65283e0534b5e54ef349129a..b1972ba546cf7cafd4774294559c7a39eaabbfc2 100644
(file)
--- 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->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;
fb->attachments[0].internalformat = GL_RG16F;
fb->attachments[0].format = GL_RG;
fb->attachments[0].type = GL_FLOAT;