mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-04-30 21:30:50 +02:00
Fix present_pixmap when using present_notify_msc
Calling present_notify_msc could cancel a pending pixmap presentation.
Signed-off-by: Axel Davy <axel.davy@ens.fr>
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
(cherry picked from commit 9bc01dfc70)
Signed-off-by: Julien Cristau <jcristau@debian.org>
This commit is contained in:
parent
0e62f275aa
commit
27600a6b20
1 changed files with 1 additions and 1 deletions
|
|
@ -762,7 +762,7 @@ present_pixmap(WindowPtr window,
|
|||
* in the same frame
|
||||
*/
|
||||
|
||||
if (!update) {
|
||||
if (!update && pixmap) {
|
||||
xorg_list_for_each_entry_safe(vblank, tmp, &window_priv->vblank, window_list) {
|
||||
|
||||
if (!vblank->pixmap)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue