diff options
author | 2019-07-11 09:07:20 +1000 | |
---|---|---|
committer | 2019-07-11 09:07:20 +1000 | |
commit | df99ce2ec0e82020a6fee89f4ffaf7f1468fec31 (patch) | |
tree | f6b1459a7e882047476bf817a410ab44eac3e99a /src/osd/modules/render/copyutil.h | |
parent | 704355279e6b62fa93d80e948073f90eba0032f2 (diff) | |
parent | 5eaac5e857176b56c990f6bb864a1a5c27b6cf6d (diff) |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'src/osd/modules/render/copyutil.h')
-rw-r--r-- | src/osd/modules/render/copyutil.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/osd/modules/render/copyutil.h b/src/osd/modules/render/copyutil.h index 81a880555cd..715fcba0dca 100644 --- a/src/osd/modules/render/copyutil.h +++ b/src/osd/modules/render/copyutil.h @@ -24,15 +24,6 @@ public: } } - static inline void copyline_palettea16(uint32_t *dst, const uint16_t *src, int width, const rgb_t *palette) - { - for (int x = 0; x < width; x++) - { - rgb_t srcpixel = palette[*src++]; - *dst++ = (srcpixel.a() << 24) | (srcpixel.b() << 16) | (srcpixel.g() << 8) | srcpixel.r(); - } - } - static inline void copyline_rgb32(uint32_t *dst, const uint32_t *src, int width, const rgb_t *palette) { int x; |