X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=world_water.c;fp=world_water.c;h=085e25250ac8217ea746c97bdf918c67105f79f6;hb=d171c9ad5de05c9ac8563fcf9f23760b93fb50f8;hp=980ae0204ffcc99f1f50a716fad85b4caf682e24;hpb=874c9d7e6ee2d826f9eb34518e8163283439c38e;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/world_water.c b/world_water.c index 980ae02..085e252 100644 --- a/world_water.c +++ b/world_water.c @@ -43,8 +43,7 @@ static void world_bind_light_index( world_instance *world, /* * Does not write motion vectors */ -static void render_water_texture( world_instance *world, camera *cam, - int layer_depth ){ +static void render_water_texture( world_instance *world, camera *cam ){ if( !world->water.enabled || (vg.quality_profile == k_quality_profile_low) ) return; @@ -88,7 +87,7 @@ static void render_water_texture( world_instance *world, camera *cam, glEnable( GL_DEPTH_TEST ); glDisable( GL_BLEND ); glCullFace( GL_FRONT ); - render_world( world, &water_cam, layer_depth ); + render_world( world, &water_cam, 0, 1, 0, 1 ); glCullFace( GL_BACK ); /*