make sfTime const global variable

This commit is contained in:
ZXShady authored and Chris Thrasher committed 2024-09-27 15:11:41 -06:00
1 parent 82e4518e93
commit 4c818c31ed
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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
+1 -1
View File
@@ -29,7 +29,7 @@
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////
sfTime sfTime_Zero = {0}; const sfTime sfTime_Zero = {0};
//////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////