mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 06:53:58 +00:00
- fixed recursion in Dim functions. When the main worker function was renamed to DoDim the Super calls were not fixed for it.
This commit is contained in:
parent
5c1dc900e3
commit
567c21cdeb
2 changed files with 2 additions and 2 deletions
|
@ -2544,7 +2544,7 @@ void OpenGLSWFrameBuffer::DoDim(PalEntry color, float amount, int x1, int y1, in
|
|||
}
|
||||
if (In2D < 2)
|
||||
{
|
||||
Super::Dim(color, amount, x1, y1, w, h);
|
||||
Super::DoDim(color, amount, x1, y1, w, h);
|
||||
return;
|
||||
}
|
||||
if (!InScene)
|
||||
|
|
|
@ -2671,7 +2671,7 @@ void D3DFB::DoDim (PalEntry color, float amount, int x1, int y1, int w, int h)
|
|||
}
|
||||
if (In2D < 2)
|
||||
{
|
||||
Super::Dim(color, amount, x1, y1, w, h);
|
||||
Super::DoDim(color, amount, x1, y1, w, h);
|
||||
return;
|
||||
}
|
||||
if (!InScene)
|
||||
|
|
Loading…
Reference in a new issue