summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
3b159ed)
There are already RAII objects in the outer scope.
- BindRestore unbind_depth_test(static_cast<DepthTest *>(0));
- BindRestore unbind_blend(static_cast<Blend *>(0));
+ DepthTest::unbind();
+ Blend::unbind();
if(samples)
target[0]->fbo.blit_from(target_ms->fbo, COLOR_BUFFER_BIT|DEPTH_BUFFER_BIT, false);
if(samples)
target[0]->fbo.blit_from(target_ms->fbo, COLOR_BUFFER_BIT|DEPTH_BUFFER_BIT, false);