mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-02-21 11:31:41 +00:00
- fixed: D3DFB::Clear used the palette index even when a valid color was passed to it.
SVN r3045 (trunk)
This commit is contained in:
parent
e33d1a989f
commit
7e503d2f70
1 changed files with 1 additions and 1 deletions
|
@ -2763,7 +2763,7 @@ void D3DFB::Clear (int left, int top, int right, int bottom, int palcolor, uint3
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (palcolor >= 0)
|
if (palcolor >= 0 && color == 0)
|
||||||
{
|
{
|
||||||
color = GPalette.BaseColors[palcolor];
|
color = GPalette.BaseColors[palcolor];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue