mirror of
https://github.com/SFML/CSFML.git
synced 2026-10-28 13:46:13 +01:00
make sfTime const global variable
This commit is contained in:
1 parent
82e4518e93
commit
4c818c31ed
2 files changed
+2
-2
No files matched your search
@@ -43,7 +43,7 @@ typedef struct
|
|||||||
/// \brief Predefined "zero" time value
|
/// \brief Predefined "zero" time value
|
||||||
///
|
///
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
CSFML_SYSTEM_API sfTime sfTime_Zero;
|
CSFML_SYSTEM_API const sfTime sfTime_Zero;
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
/// \brief Return a time value as a number of seconds
|
/// \brief Return a time value as a number of seconds
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
sfTime sfTime_Zero = {0};
|
const sfTime sfTime_Zero = {0};
|
||||||
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
|
|||||||
Reference in new issue
Block a user