mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-07 00:50:13 +01:00
glamor: Should return when done gl drawing.
Signed-off-by: Zhigang Gong <zhigang.gong@linux.intel.com>
This commit is contained in:
parent
7fbdc60fd4
commit
fe0a6a2930
1 changed files with 3 additions and 2 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue