Added header for OS drawing and a double buffer.

This commit is contained in:
2024-01-15 18:09:48 +01:00
parent 9962ef21f2
commit e938f76823
6 changed files with 187 additions and 20 deletions

View File

@@ -6,7 +6,17 @@
namespace std
{
template<typename T>
constexpr const T& min(const T& left, const T& right)
{
return right < left ? right : left;
}
template<typename T>
constexpr const T& max(const T& left, const T& right)
{
return right > left ? right : left;
}
}
#endif // !defined(BAD_APPLE_OS_ALGORITHM_INCLUDED)