X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=world_gate.h;h=3e35081e2b1c72639bfa510a9196eb4da04fc706;hb=a1adba47558099cab82aa6d10abdc1dca11d3342;hp=004ee8ade1f44ae11ca48a09914e86a5578c61b5;hpb=b528a849aba893cee8c8bfbaa01ff13cf59fb429;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/world_gate.h b/world_gate.h index 004ee8a..3e35081 100644 --- a/world_gate.h +++ b/world_gate.h @@ -132,7 +132,8 @@ VG_STATIC int render_gate( teleport_gate *gate, camera *cam ) glDisable( GL_STENCIL_TEST ); render_water_texture( &gate_view ); - fb_use( NULL ); + render_fb_bind( gpipeline.fb_main ); + glEnable( GL_STENCIL_TEST ); render_water_surface( &gate_view );