mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +00:00
- fixed: Accidentally committed in-progress work... again
Partial Revert "- fixed: Made shader targets not case sensitive"
This reverts commit 2c24d2e047
.
This commit is contained in:
parent
2c24d2e047
commit
351de94311
2 changed files with 1 additions and 9 deletions
|
@ -143,12 +143,6 @@ bool FRenderState::ApplyShader()
|
|||
}
|
||||
}
|
||||
|
||||
if (!activeShader)
|
||||
{
|
||||
assert(0); // We should not be getting to this point!
|
||||
return false;
|
||||
}
|
||||
|
||||
glVertexAttrib4fv(VATTR_COLOR, mColor.vec);
|
||||
glVertexAttrib4fv(VATTR_NORMAL, mNormal.vec);
|
||||
//activeShader->muObjectColor2.Set(mObjectColor2);
|
||||
|
@ -373,8 +367,7 @@ void FRenderState::ApplyLightIndex(int index)
|
|||
{
|
||||
index = GLRenderer->mLights->BindUBO(index);
|
||||
}
|
||||
if (activeShader)
|
||||
activeShader->muLightIndex.Set(index);
|
||||
activeShader->muLightIndex.Set(index);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -682,7 +682,6 @@ void gl_ParseHardwareShader(FScanner &sc, int deflump)
|
|||
|
||||
PostProcessShader shaderdesc;
|
||||
shaderdesc.Target = sc.String;
|
||||
shaderdesc.Target.ToLower();
|
||||
|
||||
bool validTarget = false;
|
||||
if (sc.Compare("beforebloom")) validTarget = true;
|
||||
|
|
Loading…
Reference in a new issue