Skip to content

Commit

Permalink
Update to new anti-aliasing naming
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisThrasher committed Sep 10, 2024
1 parent b05b1f1 commit 53bd351
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion include/CSFML/Graphics/RenderTexture.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions include/CSFML/Window/Window.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)
Expand Down Expand Up @@ -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)
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/CSFML/Graphics/RenderTexture.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}


Expand Down
4 changes: 2 additions & 2 deletions src/CSFML/Window/ConvertContextSettings.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
{
return {settings.depthBits,
settings.stencilBits,
settings.antialiasingLevel,
settings.antiAliasingLevel,
settings.majorVersion,
settings.minorVersion,
settings.attributeFlags,
Expand All @@ -53,7 +53,7 @@
{
return {settings.depthBits,
settings.stencilBits,
settings.antialiasingLevel,
settings.antiAliasingLevel,
settings.majorVersion,
settings.minorVersion,
settings.attributeFlags,
Expand Down

0 comments on commit 53bd351

Please sign in to comment.