summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/render.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/render.c')
-rw-r--r--src/emu/render.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/render.c b/src/emu/render.c
index e2f7bf01bba..03866274206 100644
--- a/src/emu/render.c
+++ b/src/emu/render.c
@@ -3009,8 +3009,8 @@ void render_container_add_char(render_container *container, float x0, float y0,
texture = render_font_get_char_texture_and_bounds(font, height, aspect, ch, &bounds);
/* add it like a quad */
- item = render_container_item_add_generic(container, CONTAINER_ITEM_QUAD, bounds.x0, bounds.y0, bounds.x1, bounds.y1, argb);
- item->texture = texture;
+ item = render_container_item_add_generic(container, CONTAINER_ITEM_QUAD, bounds.x0, bounds.y0, bounds.x1, bounds.y1, argb);
+ item->texture = texture;
item->flags = PRIMFLAG_TEXORIENT(ROT0) | PRIMFLAG_BLENDMODE(BLENDMODE_ALPHA);
item->internal = INTERNAL_FLAG_CHAR;
}