~unity-team/nux/nux.redirected-views

« back to all changes in this revision

Viewing changes to Nux/WindowCompositor.h

  • Committer: Tarmac
  • Author(s): Sam Spilsbury
  • Date: 2012-09-19 10:33:25 UTC
  • mfrom: (661.1.1 nux)
  • Revision ID: tarmac-20120919103325-u6jm1g3n7wtbjrei
Added a method to WindowCompositor RestoreMainFramebuffer which either restores the reference framebuffer or binds us to the backbuffer depending on what is available.. Fixes: https://bugs.launchpad.net/bugs/1036521, https://bugs.launchpad.net/bugs/1036572. Approved by Daniel van Vugt.

Show diffs side-by-side

added added

removed removed

Lines of Context:
215
215
        @return True if no error was detected.
216
216
    */
217
217
    bool RestoreReferenceFramebuffer();
 
218
    void RestoreMainFramebuffer();
218
219
 
219
220
    ObjectPtr<IOpenGLFrameBufferObject>& GetWindowFrameBufferObject()
220
221
    {