projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
chaos pt 2
[carveJwlIkooP6JGAAIwe30JlM.git]
/
world_water.c
diff --git
a/world_water.c
b/world_water.c
index 980ae0204ffcc99f1f50a716fad85b4caf682e24..085e25250ac8217ea746c97bdf918c67105f79f6 100644
(file)
--- 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
*/
/*
* 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;
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 );
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 );
/*
glCullFace( GL_BACK );
/*