X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=world_gen.c;h=91e5b7bef5d63ae6dada59aba05a366870e74cde;hb=329828f689e880b825b396c7be5b243aad6ae5ea;hp=04d6131ec51e52da759a0ddf27b57a8592327576;hpb=8f98fa2ae18576b006d7a2bd2d5dc216333ebf63;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();