forked from Dynamitos/Seele
Not even with long texts and small scales
This commit is contained in:
1 parent
03e1a5784d
commit
796271f334
17 files changed
+127
-105
No files matched your search
@@ -199,6 +199,10 @@ StructuredBuffer::StructuredBuffer(QueueFamilyMapping mapping, uint32 stride, co
|
||||
, contents(resourceData.size)
|
||||
, stride(stride)
|
||||
{
|
||||
if(resourceData.data != nullptr)
|
||||
{
|
||||
std::memcpy(contents.data(), resourceData.data, resourceData.size);
|
||||
}
|
||||
}
|
||||
StructuredBuffer::~StructuredBuffer()
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user