mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-23 12:22:45 +00:00
Remove unused WindowHeight uniform.
This commit is contained in:
parent
fcbf9342d6
commit
576619504e
3 changed files with 0 additions and 4 deletions
|
@ -54,7 +54,6 @@ void FPresent3DRowShader::Bind()
|
||||||
Contrast.Init(mShader, "Contrast");
|
Contrast.Init(mShader, "Contrast");
|
||||||
Brightness.Init(mShader, "Brightness");
|
Brightness.Init(mShader, "Brightness");
|
||||||
Scale.Init(mShader, "UVScale");
|
Scale.Init(mShader, "UVScale");
|
||||||
WindowHeight.Init(mShader, "WindowHeight");
|
|
||||||
VerticalPixelOffset.Init(mShader, "VerticalPixelOffset");
|
VerticalPixelOffset.Init(mShader, "VerticalPixelOffset");
|
||||||
}
|
}
|
||||||
mShader.Bind();
|
mShader.Bind();
|
||||||
|
|
|
@ -41,7 +41,6 @@ public:
|
||||||
FBufferedUniform1f Contrast;
|
FBufferedUniform1f Contrast;
|
||||||
FBufferedUniform1f Brightness;
|
FBufferedUniform1f Brightness;
|
||||||
FBufferedUniform2f Scale;
|
FBufferedUniform2f Scale;
|
||||||
FBufferedUniform1i WindowHeight;
|
|
||||||
FBufferedUniform1i VerticalPixelOffset;
|
FBufferedUniform1i VerticalPixelOffset;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
|
@ -99,8 +99,6 @@ void RowInterleaved3D::Present() const
|
||||||
GLRenderer->mScreenViewport.width / (float)GLRenderer->mBuffers->GetWidth(),
|
GLRenderer->mScreenViewport.width / (float)GLRenderer->mBuffers->GetWidth(),
|
||||||
GLRenderer->mScreenViewport.height / (float)GLRenderer->mBuffers->GetHeight());
|
GLRenderer->mScreenViewport.height / (float)GLRenderer->mBuffers->GetHeight());
|
||||||
|
|
||||||
GLRenderer->mPresent3dRowShader->WindowHeight.Set(0);
|
|
||||||
|
|
||||||
GLRenderer->mPresent3dRowShader->VerticalPixelOffset.Set(0); // fixme: vary with window location
|
GLRenderer->mPresent3dRowShader->VerticalPixelOffset.Set(0); // fixme: vary with window location
|
||||||
|
|
||||||
GLRenderer->RenderScreenQuad();
|
GLRenderer->RenderScreenQuad();
|
||||||
|
|
Loading…
Reference in a new issue