summaryrefslogtreecommitdiff
path: root/include/SFML/Window/ContextSettings.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/SFML/Window/ContextSettings.hpp')
-rw-r--r--include/SFML/Window/ContextSettings.hpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/include/SFML/Window/ContextSettings.hpp b/include/SFML/Window/ContextSettings.hpp
index 00afbc4..46274b6 100644
--- a/include/SFML/Window/ContextSettings.hpp
+++ b/include/SFML/Window/ContextSettings.hpp
@@ -1,7 +1,7 @@
////////////////////////////////////////////////////////////
//
// SFML - Simple and Fast Multimedia Library
-// Copyright (C) 2007-2018 Laurent Gomila (laurent@sfml-dev.org)
+// Copyright (C) 2007-2023 Laurent Gomila (laurent@sfml-dev.org)
//
// This software is provided 'as-is', without any express or implied warranty.
// In no event will the authors be held liable for any damages arising from the use of this software.
@@ -42,9 +42,9 @@ struct ContextSettings
////////////////////////////////////////////////////////////
enum Attribute
{
- Default = 0, ///< Non-debug, compatibility context (this and the core attribute are mutually exclusive)
- Core = 1 << 0, ///< Core attribute
- Debug = 1 << 2 ///< Debug attribute
+ Default = 0, //!< Non-debug, compatibility context (this and the core attribute are mutually exclusive)
+ Core = 1 << 0, //!< Core attribute
+ Debug = 1 << 2 //!< Debug attribute
};
////////////////////////////////////////////////////////////
@@ -73,13 +73,13 @@ struct ContextSettings
////////////////////////////////////////////////////////////
// Member data
////////////////////////////////////////////////////////////
- unsigned int depthBits; ///< Bits of the depth buffer
- unsigned int stencilBits; ///< Bits of the stencil buffer
- 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
- Uint32 attributeFlags; ///< The attribute flags to create the context with
- bool sRgbCapable; ///< Whether the context framebuffer is sRGB capable
+ unsigned int depthBits; //!< Bits of the depth buffer
+ unsigned int stencilBits; //!< Bits of the stencil buffer
+ 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
+ Uint32 attributeFlags; //!< The attribute flags to create the context with
+ bool sRgbCapable; //!< Whether the context framebuffer is sRGB capable
};
} // namespace sf