mirror of
https://github.com/SFML/CSFML.git
synced 2026-10-26 21:16:13 +01:00
Added support for context creation flags and texture/shader native handles
This commit is contained in:
1 parent
2ca7fbfb61
commit
88a59374bc
7 files changed
+63
No files matched your search
@@ -51,6 +51,18 @@ typedef enum
|
||||
} sfWindowStyle;
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
/// \brief Enumeration of the context attribute flags
|
||||
///
|
||||
////////////////////////////////////////////////////////////
|
||||
typedef enum
|
||||
{
|
||||
sfContextDefault = 0, ///< Non-debug, compatibility context (this and the core attribute are mutually exclusive)
|
||||
sfContextCore = 1 << 0, ///< Core attribute
|
||||
sfContextDebug = 1 << 2 ///< Debug attribute
|
||||
} sfContextAttribute;
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
/// \brief Structure defining the window's creation settings
|
||||
///
|
||||
@@ -62,6 +74,7 @@ typedef struct
|
||||
unsigned int antialiasingLevel; ///< Level of antialiasing
|
||||
unsigned int majorVersion; ///< Major number of the context version to create
|
||||
unsigned int minorVersion; ///< Minor number of the context version to create
|
||||
sfUint32 attributeFlags; ///< The attribute flags to create the context with
|
||||
} sfContextSettings;
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user