X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;ds=inline;f=world_water.h;h=7d67b136893d80753bea1f776d24d3e9620145e2;hb=49f76c732d2c4ba2f7f772656831f1855521417c;hp=5dd1b919c3ebd958262d9f4219441e841a9c00fb;hpb=2673c575386c604fc2c0603dba2480eda05cf97a;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/world_water.h b/world_water.h index 5dd1b91..7d67b13 100644 --- a/world_water.h +++ b/world_water.h @@ -121,7 +121,7 @@ VG_STATIC void render_water_texture( world_instance *world, camera *cam, glEnable( GL_DEPTH_TEST ); glDisable( GL_BLEND ); render_world_depth( world, &beneath_cam ); - glViewport( 0, 0, vg.window_x, vg.window_y ); + glViewport( 0,0, g_render_x, g_render_y ); } VG_STATIC void render_water_surface( world_instance *world, camera *cam )