From e2be449a05ddbd55e25e11baad36e13acfe2e6d9 Mon Sep 17 00:00:00 2001 From: rez Date: Wed, 5 Sep 2012 22:48:55 +0000 Subject: [PATCH] fixed a stupid error --- neercs/video/render.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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++;