update bundled sfml to 3.0.2
This commit is contained in:
parent
56e6a5c412
commit
57ff6075df
|
|
@ -30,7 +30,7 @@
|
|||
////////////////////////////////////////////////////////////
|
||||
#define SFML_VERSION_MAJOR 3
|
||||
#define SFML_VERSION_MINOR 0
|
||||
#define SFML_VERSION_PATCH 1
|
||||
#define SFML_VERSION_PATCH 2
|
||||
#define SFML_VERSION_IS_RELEASE true
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -191,10 +191,6 @@ public:
|
|||
/// }
|
||||
/// \endcode
|
||||
///
|
||||
/// Don't focus on the return type, it's equivalent to bool but
|
||||
/// it disallows unwanted implicit conversions to integer or
|
||||
/// pointer types.
|
||||
///
|
||||
/// \return `true` if last data extraction from packet was successful
|
||||
///
|
||||
/// \see `endOfPacket`
|
||||
|
|
|
|||
|
|
@ -337,7 +337,7 @@ In Utf<16>::decode(In begin, In end, char32_t& output, char32_t replacement)
|
|||
else
|
||||
{
|
||||
// We can make a direct copy
|
||||
output = first;
|
||||
output = static_cast<char32_t>(first);
|
||||
}
|
||||
|
||||
return begin;
|
||||
|
|
|
|||
|
|
@ -113,6 +113,10 @@ enum class Wheel
|
|||
///
|
||||
/// \param position New position of the mouse
|
||||
///
|
||||
/// \warning On macOS the OS API used for `setPosition` requires granting
|
||||
/// of Accessibility permission for your application.
|
||||
/// See also: https://support.apple.com/guide/mac-help/allow-accessibility-apps-to-access-your-mac-mh43185/
|
||||
///
|
||||
////////////////////////////////////////////////////////////
|
||||
SFML_WINDOW_API void setPosition(Vector2i position);
|
||||
|
||||
|
|
@ -125,6 +129,10 @@ SFML_WINDOW_API void setPosition(Vector2i position);
|
|||
/// \param position New position of the mouse
|
||||
/// \param relativeTo Reference window
|
||||
///
|
||||
/// \warning On macOS the OS API used for `setPosition` requires granting
|
||||
/// of Accessibility permission for your application.
|
||||
/// See also: https://support.apple.com/guide/mac-help/allow-accessibility-apps-to-access-your-mac-mh43185/
|
||||
///
|
||||
////////////////////////////////////////////////////////////
|
||||
SFML_WINDOW_API void setPosition(Vector2i position, const WindowBase& relativeTo);
|
||||
} // namespace Mouse
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue