Skip to content

Commit

Permalink
32x, draw, avoid some warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
irixxxx committed Apr 2, 2021
1 parent 6138c4d commit a95da16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pico/32x/draw.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

// BGR555 to native conversion
#if defined(USE_BGR555)
#define PXCONV(t) (t)
#define PXCONV(t) ((t)&(mr|mg|mb|mp))
#define PXPRIO 0x8000 // prio in MSB
#elif defined(USE_BGR565)
#define PXCONV(t) (((t)&mr) | (((t)&(mg|mb)) << 1) | (((t)&mp) >> 10))
Expand Down

0 comments on commit a95da16

Please sign in to comment.