Fixed remaining issue with shader patching for old OpenGL

This commit is contained in:
alexey.lysiuk 2016-04-30 16:28:19 +03:00
parent 8fa5fb6a95
commit 461c97d25b

View file

@ -75,6 +75,7 @@ void PatchCommon(FString &code)
void PatchVertShader(FString &code)
{
PatchCommon(code);
code.Substitute("in vec", "attribute vec");
code.Substitute("out vec", "varying vec");
code.Substitute("gl_ClipDistance", "//");
}