mirror of
https://github.com/SFML/CSFML.git
synced 2026-10-26 21:16:13 +01:00
Add missing sfContext_getSettings
This commit is contained in:
1 parent
dbc7147b47
commit
57eda5f923
2 files changed
+30
-1
No files matched your search
@@ -30,7 +30,7 @@
|
||||
////////////////////////////////////////////////////////////
|
||||
#include <SFML/Window/Export.h>
|
||||
#include <SFML/Window/Types.h>
|
||||
|
||||
#include <SFML/Window/Window.h>
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
/// \brief Create a new context
|
||||
@@ -61,5 +61,16 @@ CSFML_WINDOW_API void sfContext_destroy(sfContext* context);
|
||||
////////////////////////////////////////////////////////////
|
||||
CSFML_WINDOW_API sfBool sfContext_setActive(sfContext* context, sfBool active);
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
/// \brief Get the settings of the context.
|
||||
///
|
||||
/// Note that these settings may be different than the ones passed to the
|
||||
/// constructor; they are indeed adjusted if the original settings are not
|
||||
/// directly supported by the system.
|
||||
///
|
||||
/// \return Structure containing the settings
|
||||
///
|
||||
////////////////////////////////////////////////////////////
|
||||
CSFML_WINDOW_API sfContextSettings sfContext_getSettings(const sfContext* context);
|
||||
|
||||
#endif // SFML_CONTEXT_H
|
||||
Reference in new issue
Block a user