- int loc = blur_shader.get_uniform_location("delta");
- blur_shdata[0].uniform(loc, 1.0f/w, 0.0f);
- blur_shdata[1].uniform(loc, 0.0f, 1.0f/h);
+ blur_shader.attach_shader(get_fullscreen_vertex_shader());
+ blur_shader.attach_shader_owned(new Shader(FRAGMENT_SHADER, blur_fs));
+ blur_shader.link();
+
+ combine_shader.attach_shader(get_fullscreen_vertex_shader());
+ combine_shader.attach_shader_owned(new Shader(FRAGMENT_SHADER, combine_fs));
+ combine_shader.link();