gdi: remove unused variable

This commit is contained in:
Brad Parker 2018-10-10 17:53:27 -04:00
parent 7d0dba3007
commit 2517670f80

View File

@ -86,7 +86,7 @@ static void gdi_render_msg(
void *data, const char *msg, void *data, const char *msg,
const struct font_params *params) const struct font_params *params)
{ {
float x, y, scale, drop_mod, alpha, drop_alpha; float x, y, scale, drop_mod, drop_alpha;
int drop_x, drop_y, msg_strlen; int drop_x, drop_y, msg_strlen;
unsigned i; unsigned i;
unsigned newX, newY, newDropX, newDropY; unsigned newX, newY, newDropX, newDropY;
@ -116,7 +116,6 @@ static void gdi_render_msg(
red = FONT_COLOR_GET_RED(params->color); red = FONT_COLOR_GET_RED(params->color);
green = FONT_COLOR_GET_GREEN(params->color); green = FONT_COLOR_GET_GREEN(params->color);
blue = FONT_COLOR_GET_BLUE(params->color); blue = FONT_COLOR_GET_BLUE(params->color);
alpha = FONT_COLOR_GET_ALPHA(params->color);
} }
else else
{ {
@ -131,7 +130,6 @@ static void gdi_render_msg(
red = video_info->font_msg_color_r * 255.0f; red = video_info->font_msg_color_r * 255.0f;
green = video_info->font_msg_color_g * 255.0f; green = video_info->font_msg_color_g * 255.0f;
blue = video_info->font_msg_color_b * 255.0f; blue = video_info->font_msg_color_b * 255.0f;
alpha = 255;
} }
msg_strlen = strlen(msg); msg_strlen = strlen(msg);