mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 04:20:27 +00:00
(Xvideo) Style nits
This commit is contained in:
parent
2aebce1174
commit
8b2c8bae19
@ -687,7 +687,8 @@ static void xv_render_msg(xv_t *xv, const char *msg,
|
||||
glyph_width = glyph->width;
|
||||
glyph_height = glyph->height;
|
||||
|
||||
src = atlas->buffer + glyph->atlas_offset_x + glyph->atlas_offset_y * atlas->width;
|
||||
src = atlas->buffer + glyph->atlas_offset_x +
|
||||
glyph->atlas_offset_y * atlas->width;
|
||||
|
||||
if (base_x < 0)
|
||||
{
|
||||
@ -726,11 +727,10 @@ static void xv_render_msg(xv_t *xv, const char *msg,
|
||||
int out_x = x << 1;
|
||||
|
||||
alpha[0] = src[x + 0];
|
||||
alpha[1] = 0;
|
||||
|
||||
if (x + 1 < glyph_width)
|
||||
alpha[1] = src[x + 1];
|
||||
else
|
||||
alpha[1] = 0;
|
||||
|
||||
/* Blended alpha for the sub-sampled U/V channels. */
|
||||
alpha_sub = (alpha[0] + alpha[1]) >> 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user