diff --git a/neercs/video/render.cpp b/neercs/video/render.cpp index 7a3c2e8..edaace6 100644 --- a/neercs/video/render.cpp +++ b/neercs/video/render.cpp @@ -322,8 +322,7 @@ vec4 setup_var[]={ // setup variable [start,end,step,value] void Render::UpdateVar() { int k = 1; /* main */ - //ratio_2d = vec2(setup_var[k].w, setup_var[k + 1].w); - k += 2; + ratio_2d = vec2(setup_var[k].w, setup_var[k + 1].w); k += 2; border = vec2(setup_var[k].w, setup_var[k + 1].w) * ratio_2d; k += 2; k += 5; /* remanency */ m_shader_remanency = (setup_var[k].w == 1) ? true : false; k++;