diff options
author | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-07-19 11:03:21 +1000 |
---|---|---|
committer | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-07-19 11:03:21 +1000 |
commit | f926234600af1883c2be259360b44173bb7c12b4 (patch) | |
tree | 8938056cf43f7fc1fa5c2362ee022c5599ac8b28 /src/defines.h | |
parent | 0942a484a90695749f05d49273951f2b8d452866 (diff) |
updating docs
Diffstat (limited to 'src/defines.h')
-rw-r--r-- | src/defines.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/defines.h b/src/defines.h index 2edba8a..7275a4d 100644 --- a/src/defines.h +++ b/src/defines.h @@ -53,6 +53,9 @@ CORE_DEFINE_HANDLE(Handle); // Untyped handle that can be casted to a strongly t #define PUB // For collecting public APIs to expose in an amalgamation header file +#define MB(x) ((size_t) x * 1000 * 1000) +#define KB(x) ((size_t) x * 1000) + // NOTE: The below is now handled in xmake.lua // Platform will inform renderer backend (unless user overrides) #if defined(CEL_PLATFORM_LINUX) @@ -68,6 +71,6 @@ CORE_DEFINE_HANDLE(Handle); // Untyped handle that can be casted to a strongly t #if defined(CEL_PLATFORM_MAC) // #define CEL_REND_BACKEND_METAL 1 -// #define CEL_REND_BACKEND_OPENGL 1 -#define CEL_REND_BACKEND_VULKAN 1 +#define CEL_REND_BACKEND_OPENGL 1 +// #define CEL_REND_BACKEND_VULKAN 1 #endif |