projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
framebuffer change
[carveJwlIkooP6JGAAIwe30JlM.git]
/
world_gen.c
diff --git
a/world_gen.c
b/world_gen.c
index 04d6131ec51e52da759a0ddf27b57a8592327576..91e5b7bef5d63ae6dada59aba05a366870e74cde 100644
(file)
--- a/
world_gen.c
+++ b/
world_gen.c
@@
-650,7
+650,7
@@
void async_world_postprocess( void *payload, u32 _size )
glDisable(GL_DEPTH_TEST);
glDisable(GL_BLEND);
glDisable(GL_CULL_FACE);
glDisable(GL_DEPTH_TEST);
glDisable(GL_BLEND);
glDisable(GL_CULL_FACE);
-
render_fb_bind( &world->heightmap, 0
);
+
vg_framebuffer_bind( world->heightmap, 1.0f
);
shader_blitcolour_use();
shader_blitcolour_uColour( (v4f){-9999.0f,-9999.0f,-9999.0f,-9999.0f} );
render_fsquad();
shader_blitcolour_use();
shader_blitcolour_uColour( (v4f){-9999.0f,-9999.0f,-9999.0f,-9999.0f} );
render_fsquad();