mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-12-01 00:21:43 +00:00
Merge branch 'vulkan2' of https://github.com/coelckers/gzdoom into vulkan2
This commit is contained in:
commit
55a4927b7c
1 changed files with 2 additions and 1 deletions
|
@ -1001,8 +1001,9 @@ void PPCustomShaderInstance::AddUniformField(size_t &offset, const FString &name
|
||||||
FieldOffset[name] = offset;
|
FieldOffset[name] = offset;
|
||||||
|
|
||||||
auto name2 = std::make_unique<FString>(name);
|
auto name2 = std::make_unique<FString>(name);
|
||||||
|
auto chars = name2->GetChars();
|
||||||
FieldNames.push_back(std::move(name2));
|
FieldNames.push_back(std::move(name2));
|
||||||
Fields.push_back({ name2->GetChars(), type, offset });
|
Fields.push_back({ chars, type, offset });
|
||||||
|
|
||||||
offset += fieldsize;
|
offset += fieldsize;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue