diff options
author | Dave Airlie <airlied@redhat.com> | 2012-05-04 11:58:17 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-05-04 11:58:17 +0100 |
commit | e27ae938ffdc2ccbdd22f84f4c08205a3694eef0 (patch) | |
tree | dcb5bab147b54272c748cdfb95ca90bc9344d0ba | |
parent | 48008c92213f88f660cbcf0117cfffca37d97a8a (diff) |
fix bug in get glyph picture
-rw-r--r-- | render/glyph.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/render/glyph.c b/render/glyph.c index c5464cf02..b2e6785df 100644 --- a/render/glyph.c +++ b/render/glyph.c @@ -693,7 +693,7 @@ PicturePtr GetGlyphPicture(GlyphPtr glyph, ScreenPtr pScreen) return GlyphPicture(glyph)[pScreen->myNum]; pict = GlyphPicture(glyph)[pScreen->protocol_master->myNum]; - for (i = 0; i < pScreen->protocol_master->myNum; i++) + for (i = 0; i < pScreen->protocol_master->num_gpu; i++) if (pScreen == pScreen->protocol_master->gpu[i]) return pict->gpu[i]; return NULL; |