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:
parent
42a4873cc7
commit
91767a3287
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user