if(h==hdr)
return;
- bool old_hdr= hdr;
+ bool old_hdr = hdr;
hdr = h;
try
{
{
Framebuffer &fbo = (samples ? target_ms : target[0])->get_framebuffer();
fbo.bind();
- fbo.clear(COLOR_BUFFER_BIT|DEPTH_BUFFER_BIT);
+ fbo.clear();
}
for(PassList::const_iterator i=passes.begin(); i!=passes.end(); ++i)