- remove the old OpenGL postprocess custom shader implementation

This commit is contained in:
Magnus Norddahl 2019-04-08 01:31:22 +02:00
commit b30ed99672
7 changed files with 5 additions and 310 deletions

View file

@ -91,7 +91,7 @@ void FShaderProgram::CreateShader(ShaderType type)
void FShaderProgram::Compile(ShaderType type, const char *lumpName, const char *defines, int maxGlslVersion)
{
int lump = Wads.CheckNumForFullName(lumpName, 0);
int lump = Wads.CheckNumForFullName(lumpName);
if (lump == -1) I_FatalError("Unable to load '%s'", lumpName);
FString code = Wads.ReadLump(lump).GetString().GetChars();
Compile(type, lumpName, code, defines, maxGlslVersion);