mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-25 21:41:30 +00:00
Fixed remaining issue with shader patching for old OpenGL
This commit is contained in:
parent
8fa5fb6a95
commit
461c97d25b
1 changed files with 1 additions and 0 deletions
|
@ -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", "//");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue