Various improvements on OpenGL contexts handling
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1245 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
31b72b6385
commit
17190bd158
21 changed files with 217 additions and 225 deletions
|
@ -71,6 +71,18 @@ public :
|
|||
////////////////////////////////////////////////////////////
|
||||
void SetActive(bool active);
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
/// \brief Make the current thread's reference context active
|
||||
///
|
||||
/// This function is meant to be called internally; it is used
|
||||
/// to deactivate the current context by activating another one
|
||||
/// (so that we still have an active context on the current thread).
|
||||
///
|
||||
/// \return True if operation was successful, false otherwise
|
||||
///
|
||||
////////////////////////////////////////////////////////////
|
||||
static bool SetReferenceActive();
|
||||
|
||||
private :
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue