diff --git a/src/gl/shaders/gl_shader.cpp b/src/gl/shaders/gl_shader.cpp index ea8f5aa927..1d5afd359e 100644 --- a/src/gl/shaders/gl_shader.cpp +++ b/src/gl/shaders/gl_shader.cpp @@ -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", "//"); }