more cleanup
This commit is contained in:
1 parent
d2a361c250
commit
a1f7914c5e
1 file changed
+2
-8
@@ -4321,18 +4321,12 @@ EXPORT void HWRAPI(DrawScreenFinalTexture)(int width, int height)
|
||||
clearColour.alpha = 1;
|
||||
ClearBuffer(true, false, false, &clearColour);
|
||||
if (HWR_ShouldUsePaletteRendering())
|
||||
{
|
||||
SetBlend(PF_NoDepthTest);
|
||||
pglBindTexture(GL_TEXTURE_2D, finalScreenTexture);
|
||||
}
|
||||
else
|
||||
pglBindTexture(GL_TEXTURE_2D, finalScreenTexture);
|
||||
|
||||
pglBindTexture(GL_TEXTURE_2D, finalScreenTexture);
|
||||
|
||||
if (HWR_ShouldUsePaletteRendering())
|
||||
pglUseProgram(gl_shaderprograms[8].program); // palette postprocess shader
|
||||
|
||||
// prepare shader, if it is enabled
|
||||
//Shader_SetUniforms(NULL, NULL, NULL, NULL);
|
||||
|
||||
pglColor4ubv(white);
|
||||
pglTexCoordPointer(2, GL_FLOAT, 0, fix);
|
||||
|
||||
Reference in new issue
Block a user