mirror of
https://github.com/SFML/SFML.git
synced 2024-11-25 12:51:05 +08:00
Fix 'instanciate' typo; correct is 'instantiate'
This commit is contained in:
parent
4cddde79fe
commit
c3813f71ee
@ -167,7 +167,7 @@ public :
|
|||||||
/// and to adjust the global volume.
|
/// and to adjust the global volume.
|
||||||
///
|
///
|
||||||
/// Because the listener is unique in the scene, sf::Listener only
|
/// Because the listener is unique in the scene, sf::Listener only
|
||||||
/// contains static functions and doesn't have to be instanciated.
|
/// contains static functions and doesn't have to be instantiated.
|
||||||
///
|
///
|
||||||
/// Usage example:
|
/// Usage example:
|
||||||
/// \code
|
/// \code
|
||||||
|
@ -752,7 +752,7 @@ typedef Utf<32> Utf32;
|
|||||||
/// to handle ANSI, wide, latin-1, UTF-8, UTF-16 and UTF-32 encodings.
|
/// to handle ANSI, wide, latin-1, UTF-8, UTF-16 and UTF-32 encodings.
|
||||||
///
|
///
|
||||||
/// sf::Utf<X> functions are all static, these classes are not meant to
|
/// sf::Utf<X> functions are all static, these classes are not meant to
|
||||||
/// be instanciated. All the functions are template, so that you
|
/// be instantiated. All the functions are template, so that you
|
||||||
/// can use any character / string type for a given encoding.
|
/// can use any character / string type for a given encoding.
|
||||||
///
|
///
|
||||||
/// It has 3 specializations:
|
/// It has 3 specializations:
|
||||||
|
@ -153,7 +153,7 @@ public :
|
|||||||
///
|
///
|
||||||
/// sf::Joystick provides an interface to the state of the
|
/// sf::Joystick provides an interface to the state of the
|
||||||
/// joysticks. It only contains static functions, so it's not
|
/// joysticks. It only contains static functions, so it's not
|
||||||
/// meant to be instanciated. Instead, each joystick is identified
|
/// meant to be instantiated. Instead, each joystick is identified
|
||||||
/// by an index that is passed to the functions of this class.
|
/// by an index that is passed to the functions of this class.
|
||||||
///
|
///
|
||||||
/// This class allows users to query the state of joysticks at any
|
/// This class allows users to query the state of joysticks at any
|
||||||
|
@ -176,7 +176,7 @@ public :
|
|||||||
///
|
///
|
||||||
/// sf::Keyboard provides an interface to the state of the
|
/// sf::Keyboard provides an interface to the state of the
|
||||||
/// keyboard. It only contains static functions (a single
|
/// keyboard. It only contains static functions (a single
|
||||||
/// keyboard is assumed), so it's not meant to be instanciated.
|
/// keyboard is assumed), so it's not meant to be instantiated.
|
||||||
///
|
///
|
||||||
/// This class allows users to query the keyboard state at any
|
/// This class allows users to query the keyboard state at any
|
||||||
/// time and directly, without having to deal with a window and
|
/// time and directly, without having to deal with a window and
|
||||||
|
@ -129,7 +129,7 @@ public :
|
|||||||
///
|
///
|
||||||
/// sf::Mouse provides an interface to the state of the
|
/// sf::Mouse provides an interface to the state of the
|
||||||
/// mouse. It only contains static functions (a single
|
/// mouse. It only contains static functions (a single
|
||||||
/// mouse is assumed), so it's not meant to be instanciated.
|
/// mouse is assumed), so it's not meant to be instantiated.
|
||||||
///
|
///
|
||||||
/// This class allows users to query the mouse state at any
|
/// This class allows users to query the mouse state at any
|
||||||
/// time and directly, without having to deal with a window and
|
/// time and directly, without having to deal with a window and
|
||||||
|
@ -97,7 +97,7 @@ void alCheckError(const std::string& file, unsigned int line)
|
|||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
void ensureALInit()
|
void ensureALInit()
|
||||||
{
|
{
|
||||||
// The audio device is instanciated on demand rather than at global startup,
|
// The audio device is instantiated on demand rather than at global startup,
|
||||||
// which solves a lot of weird crashes and errors.
|
// which solves a lot of weird crashes and errors.
|
||||||
// It is destroyed at global exit which is fine.
|
// It is destroyed at global exit which is fine.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user