mirror of
https://github.com/RetroDECK/Supermodel.git
synced 2024-11-22 05:45:38 +00:00
remove 2 dupe function calls, where ProcessLos should actually be rather costly
This commit is contained in:
parent
412e9232d7
commit
75771b3d14
|
@ -369,11 +369,9 @@ void CNew3D::RenderFrame(void)
|
|||
SetRenderStates();
|
||||
|
||||
m_r3dShader.DiscardAlpha(true); // discard all translucent pixels in opaque pass
|
||||
m_r3dFrameBuffers.SetFBO(Layer::colour);
|
||||
bool hasOverlay = RenderScene(pri, renderOverlay, Layer::colour);
|
||||
|
||||
if (!renderOverlay && ProcessLos(pri)) {
|
||||
ProcessLos(pri);
|
||||
}
|
||||
|
||||
DisableRenderStates();
|
||||
|
|
Loading…
Reference in a new issue