struct image_kernel::implementation : boost::noncopyable\r
{ \r
std::shared_ptr<shader> shader_;\r
- bool blend_modes_;\r
+ bool advanced_blend_modes_;\r
\r
void draw(ogl_device& ogl,\r
render_item&& item,\r
// Setup shader\r
\r
if(!shader_)\r
- shader_ = get_image_shader(ogl, blend_modes_);\r
+ shader_ = get_image_shader(ogl, advanced_blend_modes_);\r
\r
ogl.use(*shader_);\r
\r
\r
// Setup blend_func\r
\r
- if(blend_modes_)\r
+ if(advanced_blend_modes_)\r
{\r
background->bind(6);\r
\r
item.textures.clear();\r
ogl.yield(); // Return resources to pool as early as possible.\r
\r
- if(blend_modes_)\r
+ if(advanced_blend_modes_)\r
{\r
// http://www.opengl.org/registry/specs/NV/texture_barrier.txt\r
// This allows us to use framebuffer (background) both as source and target while blending.\r