core: Fixup linux support (#195)

* tls: Implement for linux

* core: Implement memory manager for linux
This commit is contained in:
TheTurtle
2024-06-14 00:58:57 +03:00
committed by GitHub
parent e62690759d
commit 31bd502764
18 changed files with 184 additions and 88 deletions

View File

@@ -32,7 +32,7 @@ struct Buffer {
};
u32 GetStride() const noexcept {
return stride == 0 ? 1U : stride;
return stride == 0 ? 1U : stride.Value();
}
u32 GetStrideElements(u32 element_size) const noexcept {