mirror of
https://github.com/FreeRDP/FreeRDP.git
synced 2025-06-03 00:00:20 +00:00
Fixed #6298: Mask CACHED_BRUSH when checking brush style
This commit is contained in:
parent
f3fc2b7096
commit
ce1a9d8d19
@ -139,7 +139,8 @@ static BYTE get_bmf_bpp(UINT32 bmf, BOOL* pValid)
|
|||||||
{
|
{
|
||||||
if (pValid)
|
if (pValid)
|
||||||
*pValid = TRUE;
|
*pValid = TRUE;
|
||||||
switch (bmf)
|
/* Mask out highest bit */
|
||||||
|
switch (bmf & (~CACHED_BRUSH))
|
||||||
{
|
{
|
||||||
case 1:
|
case 1:
|
||||||
return 1;
|
return 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user