summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/esh.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2008-09-27 22:05:30 +0000
committer Aaron Giles <aaron@aarongiles.com>2008-09-27 22:05:30 +0000
commit2a3301d0b994f6999e3f7761b5e2515b1863a903 (patch)
tree519d8db356f1dd9fbb3478ec934e10ac218471bd /src/mame/drivers/esh.c
parent3959354577fdcbaea546c81257c68b63809bc414 (diff)
Removed render_container_set_palette_alpha() hack. Now the alpha value
can be set directly in the palette entry and will be respected for laserdisc overlays.
Diffstat (limited to 'src/mame/drivers/esh.c')
-rw-r--r--src/mame/drivers/esh.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mame/drivers/esh.c b/src/mame/drivers/esh.c
index 886ac46c946..0ba13badcf3 100644
--- a/src/mame/drivers/esh.c
+++ b/src/mame/drivers/esh.c
@@ -42,8 +42,6 @@ static VIDEO_UPDATE( esh )
{
int charx, chary;
- render_container_set_palette_alpha(render_container_get_screen(screen), 0, 0x00);
-
/* clear */
fillbitmap(bitmap, 0, cliprect);
@@ -239,6 +237,9 @@ static PALETTE_INIT( esh )
palette_set_color(machine,i,MAKE_RGB(r,g,b));
}
+
+ /* make color 0 transparent */
+ palette_set_color(machine, 0, MAKE_ARGB(0,0,0,0));
}
static const gfx_layout esh_gfx_layout =