VG_STATIC void render_water_texture( world_instance *world, camera *cam,
int layer_depth );
VG_STATIC void render_water_surface( world_instance *world, camera *cam );
VG_STATIC void render_water_texture( world_instance *world, camera *cam,
int layer_depth );
VG_STATIC void render_water_surface( world_instance *world, camera *cam );
vg_console_reg_cmd( "fb", render_framebuffer_control,
render_framebuffer_poll );
vg_console_reg_cmd( "fb", render_framebuffer_control,
render_framebuffer_poll );
glGenVertexArrays( 1, &gpipeline.fsquad.vao );
glGenBuffers( 1, &gpipeline.fsquad.vbo );
glGenVertexArrays( 1, &gpipeline.fsquad.vao );
glGenBuffers( 1, &gpipeline.fsquad.vbo );