mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-04-01 14:00:41 +02:00
Merge branch 'glamor_xv_sw_cursor' into 'main'
glamor: xv: Fix sw cursor rendering issue See merge request xorg/xserver!310
This commit is contained in:
commit
5a65169a88
1 changed files with 3 additions and 1 deletions
|
|
@ -430,6 +430,8 @@ glamor_xv_render(glamor_port_private *port_priv, int id)
|
|||
char *vbo_offset;
|
||||
int dst_box_index;
|
||||
|
||||
DamageRegionAppend(port_priv->pDraw, &port_priv->clip);
|
||||
|
||||
if (!port_priv->xv_prog.prog)
|
||||
glamor_init_xv_shader(screen, port_priv, id);
|
||||
|
||||
|
|
@ -608,7 +610,7 @@ glamor_xv_render(glamor_port_private *port_priv, int id)
|
|||
glDisableVertexAttribArray(GLAMOR_VERTEX_POS);
|
||||
glDisableVertexAttribArray(GLAMOR_VERTEX_SOURCE);
|
||||
|
||||
DamageDamageRegion(port_priv->pDraw, &port_priv->clip);
|
||||
DamageRegionProcessPending(port_priv->pDraw);
|
||||
}
|
||||
|
||||
static Bool
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue