From e42d11cc349c73501bf1744fb7e179f496360ae5 Mon Sep 17 00:00:00 2001 From: Magnus Norddahl Date: Thu, 18 Apr 2019 19:57:03 +0200 Subject: [PATCH] - change padding to something else than __ since that is restricted --- src/rendering/hwrenderer/postprocessing/hw_postprocess.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rendering/hwrenderer/postprocessing/hw_postprocess.cpp b/src/rendering/hwrenderer/postprocessing/hw_postprocess.cpp index 40102866e9..b982a60350 100644 --- a/src/rendering/hwrenderer/postprocessing/hw_postprocess.cpp +++ b/src/rendering/hwrenderer/postprocessing/hw_postprocess.cpp @@ -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(name + "__padding"); + name2 = std::make_unique(name + "_F39350FF12DE_padding"); chars = name2->GetChars(); FieldNames.push_back(std::move(name2)); Fields.push_back({ chars, UniformType::Float, offset });