mirror of
https://github.com/SFML/CSFML.git
synced 2026-10-24 13:53:36 +02:00
Update to new anti-aliasing naming
This commit is contained in:
1 parent
b05b1f1997
commit
53bd3517db
4 files changed
+9
-9
No files matched your search
@@ -335,7 +335,7 @@ CSFML_GRAPHICS_API const sfTexture* sfRenderTexture_getTexture(const sfRenderTex
|
||||
/// \return The maximum anti-aliasing level supported by the system
|
||||
///
|
||||
////////////////////////////////////////////////////////////
|
||||
CSFML_GRAPHICS_API unsigned int sfRenderTexture_getMaximumAntialiasingLevel(void);
|
||||
CSFML_GRAPHICS_API unsigned int sfRenderTexture_getMaximumAntiAliasingLevel(void);
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
/// \brief Enable or disable the smooth filter on a render texture
|
||||
|
||||
@@ -57,7 +57,7 @@ typedef struct
|
||||
{
|
||||
unsigned int depthBits; ///< Bits of the depth buffer
|
||||
unsigned int stencilBits; ///< Bits of the stencil buffer
|
||||
unsigned int antialiasingLevel; ///< Level of antialiasing
|
||||
unsigned int antiAliasingLevel; ///< Level of anti-aliasing
|
||||
unsigned int majorVersion; ///< Major number of the context version to create
|
||||
unsigned int minorVersion; ///< Minor number of the context version to create
|
||||
uint32_t attributeFlags; ///< The attribute flags to create the context with
|
||||
@@ -75,7 +75,7 @@ typedef struct
|
||||
/// sfFullscreen, then \a mode must be a valid video mode.
|
||||
///
|
||||
/// The fourth parameter is a pointer to a structure specifying
|
||||
/// advanced OpenGL context settings such as antialiasing,
|
||||
/// advanced OpenGL context settings such as anti-aliasing,
|
||||
/// depth-buffer bits, etc.
|
||||
///
|
||||
/// \param mode Video mode to use (defines the width, height and depth of the rendering area of the window)
|
||||
@@ -103,7 +103,7 @@ CSFML_WINDOW_API sfWindow* sfWindow_create(sfVideoMode mode,
|
||||
/// sfFullscreen, then \a mode must be a valid video mode.
|
||||
///
|
||||
/// The fourth parameter is a pointer to a structure specifying
|
||||
/// advanced OpenGL context settings such as antialiasing,
|
||||
/// advanced OpenGL context settings such as anti-aliasing,
|
||||
/// depth-buffer bits, etc.
|
||||
///
|
||||
/// \param mode Video mode to use (defines the width, height and depth of the rendering area of the window)
|
||||
@@ -129,7 +129,7 @@ CSFML_WINDOW_API sfWindow* sfWindow_createUnicode(
|
||||
/// rendering area into an already existing control.
|
||||
///
|
||||
/// The second parameter is a pointer to a structure specifying
|
||||
/// advanced OpenGL context settings such as antialiasing,
|
||||
/// advanced OpenGL context settings such as anti-aliasing,
|
||||
/// depth-buffer bits, etc.
|
||||
///
|
||||
/// \param handle Platform-specific handle of the control
|
||||
|
||||
@@ -288,9 +288,9 @@ void sfRenderTexture_setSmooth(sfRenderTexture* renderTexture, bool smooth)
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////
|
||||
unsigned int sfRenderTexture_getMaximumAntialiasingLevel()
|
||||
unsigned int sfRenderTexture_getMaximumAntiAliasingLevel()
|
||||
{
|
||||
return sf::RenderTexture::getMaximumAntialiasingLevel();
|
||||
return sf::RenderTexture::getMaximumAntiAliasingLevel();
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
{
|
||||
return {settings.depthBits,
|
||||
settings.stencilBits,
|
||||
settings.antialiasingLevel,
|
||||
settings.antiAliasingLevel,
|
||||
settings.majorVersion,
|
||||
settings.minorVersion,
|
||||
settings.attributeFlags,
|
||||
@@ -53,7 +53,7 @@
|
||||
{
|
||||
return {settings.depthBits,
|
||||
settings.stencilBits,
|
||||
settings.antialiasingLevel,
|
||||
settings.antiAliasingLevel,
|
||||
settings.majorVersion,
|
||||
settings.minorVersion,
|
||||
settings.attributeFlags,
|
||||
|
||||
Reference in new issue
Block a user