Commit 734b10e9 authored by Zhigang Gong's avatar Zhigang Gong
Browse files

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: default avatarZhigang Gong <zhigang.gong@linux.intel.com>
parent 2eb40a37
...@@ -103,7 +103,7 @@ glamor_tile(PixmapPtr pixmap, PixmapPtr tile, ...@@ -103,7 +103,7 @@ glamor_tile(PixmapPtr pixmap, PixmapPtr tile,
goto fail; 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"); glamor_fallback("dest has no fbo.\n");
goto fail; goto fail;
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment