Added support for context creation flags and texture/shader native handles

This commit is contained in:
Zachariah Brown committed 2015-03-31 08:14:32 -04:00
1 parent 2ca7fbfb61
commit 88a59374bc
7 files changed
+63

No files matched your search

+13
View File
@@ -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;