- /* Binding the current object is a no-op, but this will restore the original
- FBO in case an exception is thrown. */
- Bind restore_fbo(out_fbo, true);
+ // This is a no-op but will ensure the FBO binding gets restored
+ BindRestore restore_fbo(out_fbo);