From: Steinar H. Gunderson Date: Thu, 2 Aug 2018 17:31:38 +0000 (+0200) Subject: Remove some dead code. X-Git-Tag: 1.8.0~76^2~145 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=5e825a6c9810742121475608b12994512fb69508;p=nageru Remove some dead code. --- diff --git a/flow.cpp b/flow.cpp index 54d28d9..feeae6b 100644 --- a/flow.cpp +++ b/flow.cpp @@ -1460,7 +1460,6 @@ void Blend::exec(GLuint tex0, GLuint tex1, GLuint flow_tex, GLuint output_tex, i bind_sampler(blend_program, uniform_image1_tex, 1, tex1, linear_sampler); bind_sampler(blend_program, uniform_flow_tex, 2, flow_tex, linear_sampler); // May be upsampled. glProgramUniform1f(blend_program, uniform_alpha, alpha); - //glProgramUniform1f(blend_program, uniform_flow_consistency_tolerance, 1.0f / glViewport(0, 0, level_width, level_height); fbos.render_to(output_tex);