remove junk
[carveJwlIkooP6JGAAIwe30JlM.git] / world_gate.h
index 004ee8ade1f44ae11ca48a09914e86a5578c61b5..3e35081e2b1c72639bfa510a9196eb4da04fc706 100644 (file)
@@ -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 );