Commit fe0a6a29 authored by Zhigang Gong's avatar Zhigang Gong
Browse files

glamor: Should return when done gl drawing.


Signed-off-by: default avatarZhigang Gong <zhigang.gong@linux.intel.com>
parent 7fbdc60f
......@@ -84,10 +84,11 @@ glamor_set_spans(DrawablePtr drawable, GCPtr gc, char *src,
}
drawpixels_src += PixmapBytePad(widths[i], drawable->depth);
}
fail:
glDisable(GL_SCISSOR_TEST);
glamor_set_planemask(dest_pixmap, ~0);
glamor_set_alu(GXcopy);
glDisable(GL_SCISSOR_TEST);
return;
fail:
glamor_fallback("to %p (%c)\n",
drawable, glamor_get_drawable_location(drawable));
......
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