summaryrefslogtreecommitdiff
path: root/glamor/glamor_text.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2014-04-25 23:38:35 -0700
committerEric Anholt <eric@anholt.net>2014-05-05 13:18:22 -0700
commit91767a32874790f8a8c7340be0e81a0b719ca4f6 (patch)
treec302e1bc2f92192c17de6c3a3e30b451bbe334df /glamor/glamor_text.c
parent42a4873cc7fe0c7a729e48f806e877c4dac5c07f (diff)
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>
Diffstat (limited to 'glamor/glamor_text.c')
-rw-r--r--glamor/glamor_text.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/glamor/glamor_text.c b/glamor/glamor_text.c
index 395116d5b..fdee08ebc 100644
--- a/glamor/glamor_text.c
+++ b/glamor/glamor_text.c
@@ -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