mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-01-18 22:51:39 +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;
|
||||
}
|
||||
if (palcolor >= 0)
|
||||
if (palcolor >= 0 && color == 0)
|
||||
{
|
||||
color = GPalette.BaseColors[palcolor];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue