From 734b10e9f7e729fc300ed432bd3c81e1ea7483f3 Mon Sep 17 00:00:00 2001 From: Zhigang Gong Date: Thu, 30 Jun 2011 16:50:23 +0800 Subject: [PATCH] glamor: Fix one typo bug in glamor_tile. It will return when the destination pixmap has a fbo but will continue when it doesn't have a fbo. Signed-off-by: Zhigang Gong --- glamor/glamor_tile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glamor/glamor_tile.c b/glamor/glamor_tile.c index c62392c1b..5bfdd7341 100644 --- a/glamor/glamor_tile.c +++ b/glamor/glamor_tile.c @@ -103,7 +103,7 @@ glamor_tile(PixmapPtr pixmap, PixmapPtr tile, goto fail; } - if (GLAMOR_PIXMAP_PRIV_HAS_FBO(dst_pixmap_priv)) { + if (!GLAMOR_PIXMAP_PRIV_HAS_FBO(dst_pixmap_priv)) { glamor_fallback("dest has no fbo.\n"); goto fail; }