summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd
diff options
context:
space:
mode:
authorGravatarGravatar arbee <rb6502@users.noreply.github.com>2019-10-06 08:39:13 -0400
committerGravatarGravatar arbee <rb6502@users.noreply.github.com>2019-10-06 08:39:13 -0400
commit4bbabbde2d724a0408100ee5a05aa6987a924909 (patch)
tree59462c04d0327a7940b9e5781503a80a72ab0674 /src/osd
parent4025e8e5f41a442ece818ac93739c97f4d9a6004 (diff)
SDL: support RRGGBB00 format used by ARM Mali GPUs [R. Belmont]
Diffstat (limited to 'src/osd')
-rw-r--r--src/osd/modules/render/drawsdl.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/osd/modules/render/drawsdl.cpp b/src/osd/modules/render/drawsdl.cpp
index c80b59185af..5e04f6d4b15 100644
--- a/src/osd/modules/render/drawsdl.cpp
+++ b/src/osd/modules/render/drawsdl.cpp
@@ -415,6 +415,10 @@ int renderer_sdl1::draw(int update)
{
switch (rmask)
{
+ case 0xff000000:
+ software_renderer<uint32_t, 0,0,0, 24,16,8>::draw_primitives(*win->m_primlist, surfptr, mamewidth, mameheight, pitch / 4);
+ break;
+
case 0x0000ff00:
software_renderer<uint32_t, 0,0,0, 8,16,24>::draw_primitives(*win->m_primlist, surfptr, mamewidth, mameheight, pitch / 4);
break;