Fixing staging buffers not getting deleted

remove vgcore
This commit is contained in:
2023-11-06 15:08:27 +01:00
parent d35f7acddc
commit 4c567b60f3
69 changed files with 505 additions and 304 deletions
+7 -2
View File
@@ -56,6 +56,11 @@ public:
{
return (int)(p - other.p);
}
constexpr IteratorBase& operator+=(difference_type other)
{
p+=other;
return *this;
}
constexpr bool operator<(const IteratorBase& other) const
{
return p < other.p;
@@ -725,7 +730,7 @@ public:
}
StaticArray(T value)
{
for (int i = 0; i < N; ++i)
for (size_t i = 0; i < N; ++i)
{
_data[i] = value;
}
@@ -736,7 +741,7 @@ public:
{
assert(init.size() == N);
auto beg = init.begin();
for (int i = 0; i < N; ++i)
for (size_t i = 0; i < N; ++i)
{
_data[i] = *beg;
beg++;