glamor: Fix uxa-entry point for ImageText16

Was interpreting the incoming chars as 8-bits instead of 16-bits,
resulting in the wrong characters being drawn.

Signed-off-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
Keith Packard 2014-04-25 23:38:35 -07:00 committed by Eric Anholt
parent 42a4873cc7
commit 91767a3287

View File

@ -508,7 +508,7 @@ Bool
glamor_image_text16_nf(DrawablePtr drawable, GCPtr gc,
int x, int y, int count, unsigned short *chars)
{
return glamor_image_text(drawable, gc, x, y, count, (char *) chars, FALSE);
return glamor_image_text(drawable, gc, x, y, count, (char *) chars, TRUE);
}
void