~registry/csfml/master

« back to all changes in this revision

Viewing changes to include/SFML/Window/Context.h

  • Committer: GitHub
  • Author(s): Laurent Gomila
  • Date: 2016-10-25 12:00:49 UTC
  • mfrom: (141.1.2)
  • Revision ID: git-v1:dbc7147b47ed2f221ead9db1cfe9f2e68a1cf757
Merge pull request #113 from crumblingstatue/master

Have sfContext_setActive return sfBool instead of void

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
/// \param context Context object
57
57
/// \param active  sfTrue to activate, sfFalse to deactivate
58
58
///
 
59
/// \return sfTrue on success, sfFalse on failure
 
60
///
59
61
////////////////////////////////////////////////////////////
60
 
CSFML_WINDOW_API void sfContext_setActive(sfContext* context, sfBool active);
 
62
CSFML_WINDOW_API sfBool sfContext_setActive(sfContext* context, sfBool active);
61
63
 
62
64
 
63
65
#endif // SFML_CONTEXT_H