mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +00:00
- change padding to something else than __ since that is restricted
This commit is contained in:
parent
e332011995
commit
e42d11cc34
1 changed files with 1 additions and 1 deletions
|
@ -1023,7 +1023,7 @@ void PPCustomShaderInstance::AddUniformField(size_t &offset, const FString &name
|
|||
|
||||
if (fieldsize != alignment) // Workaround for buggy OpenGL drivers that does not do std140 layout correctly for vec3
|
||||
{
|
||||
name2 = std::make_unique<FString>(name + "__padding");
|
||||
name2 = std::make_unique<FString>(name + "_F39350FF12DE_padding");
|
||||
chars = name2->GetChars();
|
||||
FieldNames.push_back(std::move(name2));
|
||||
Fields.push_back({ chars, UniformType::Float, offset });
|
||||
|
|
Loading…
Reference in a new issue