X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=world_gen.c;h=91e5b7bef5d63ae6dada59aba05a366870e74cde;hb=238a3a4ef19bb137e2a878ee38f99d253eddb51c;hp=04d6131ec51e52da759a0ddf27b57a8592327576;hpb=be5e25dee2c54c2a22ca3bbb5bbe0eb6149343be;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/world_gen.c b/world_gen.c index 04d6131..91e5b7b 100644 --- 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); - 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();