mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-12-03 08:52:59 +00:00
Fix pinkie having the blues
This commit is contained in:
parent
767c3a2edd
commit
54c94f6e58
1 changed files with 3 additions and 3 deletions
|
@ -258,14 +258,14 @@ class FillColumnHorizRGBACommand : public DrawerCommand
|
||||||
int _yl;
|
int _yl;
|
||||||
int _yh;
|
int _yh;
|
||||||
int _count;
|
int _count;
|
||||||
int _color;
|
uint32_t _color;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
FillColumnHorizRGBACommand()
|
FillColumnHorizRGBACommand()
|
||||||
{
|
{
|
||||||
_x = dc_x;
|
_x = dc_x;
|
||||||
_count = dc_count;
|
_count = dc_count;
|
||||||
_color = dc_color;
|
_color = GPalette.BaseColors[dc_color].d | (uint32_t)0xff000000;
|
||||||
_yl = dc_yl;
|
_yl = dc_yl;
|
||||||
_yh = dc_yh;
|
_yh = dc_yh;
|
||||||
}
|
}
|
||||||
|
@ -273,7 +273,7 @@ public:
|
||||||
void Execute(DrawerThread *thread) override
|
void Execute(DrawerThread *thread) override
|
||||||
{
|
{
|
||||||
int count = _count;
|
int count = _count;
|
||||||
int color = _color;
|
uint32_t color = _color;
|
||||||
uint32_t *dest;
|
uint32_t *dest;
|
||||||
|
|
||||||
if (count <= 0)
|
if (count <= 0)
|
||||||
|
|
Loading…
Reference in a new issue