Ensure the proper default framebuffer is bound when activating a RenderWindow. Fixes #1471.

This commit is contained in:
binary1248 2018-09-15 21:36:53 +02:00 committed by Lukas Dürrenberger
parent 5e10e1f0c9
commit 8554d210df
2 changed files with 21 additions and 4 deletions

View file

@ -177,6 +177,13 @@ protected:
///
////////////////////////////////////////////////////////////
virtual void onResize();
private:
////////////////////////////////////////////////////////////
// Member data
////////////////////////////////////////////////////////////
unsigned int m_defaultFrameBuffer; ///< Framebuffer to bind when targeting this window
};
} // namespace sf