Skip to content

Commit

Permalink
Fix more outdated references to Mac OS X
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisThrasher committed Sep 10, 2024
1 parent 9f52cfe commit 2b4a72e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion include/SFML/Graphics/RenderWindow.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ class SFML_GRAPHICS_API RenderWindow : public Window, public RenderTarget
/// parameters for a regular usage of the graphics module.
///
/// \param handle Platform-specific handle of the control (\a HWND on
/// Windows, \a %Window on Linux/FreeBSD, \a NSWindow on OS X)
/// Windows, \a %Window on Linux/FreeBSD, \a NSWindow on macOS)
/// \param settings Additional settings for the underlying OpenGL context
///
////////////////////////////////////////////////////////////
Expand Down
4 changes: 2 additions & 2 deletions include/SFML/Window/ContextSettings.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,13 +106,13 @@ struct ContextSettings
/// system, this might be required for advanced OpenGL debugging.
/// OpenGL debugging is disabled by default.
///
/// <b>Special Note for OS X:</b>
/// <b>Special Note for macOS:</b>
/// Apple only supports choosing between either a legacy context
/// (OpenGL 2.1) or a core context (OpenGL version depends on the
/// operating system version but is at least 3.2). Compatibility
/// contexts are not supported. Further information is available on the
/// <a href="https://developer.apple.com/opengl/capabilities/index.html">
/// OpenGL Capabilities Tables</a> page. OS X also currently does
/// OpenGL Capabilities Tables</a> page. macOS also currently does
/// not support debug contexts.
///
/// Please note that these values are only a hint.
Expand Down
2 changes: 1 addition & 1 deletion src/SFML/Window/macOS/SFContext.mm
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@

attrs.push_back(static_cast<NSOpenGLPixelFormatAttribute>(0)); // end of array

// All OS X pixel formats are sRGB capable
// All macOS pixel formats are sRGB capable
m_settings.sRgbCapable = true;

// Create the pixel format.
Expand Down
2 changes: 1 addition & 1 deletion tools/xcode/templates/SFML/SFML App.xctemplate/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// This code will work only if you selected window, graphics and audio.
//
// Note that the "Run Script" build phase will copy the required frameworks
// or dylibs to your application bundle so you can execute it on any OS X
// or dylibs to your application bundle so you can execute it on any macOS
// computer.
//
// Your resource files (images, sounds, fonts, ...) are also copied to your
Expand Down

0 comments on commit 2b4a72e

Please sign in to comment.