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>
This commit is contained in:
		
							parent
							
								
									b3e9791fd3
								
							
						
					
					
						commit
						9bc01dfc70
					
				| 
						 | 
				
			
			@ -767,7 +767,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…
	
		Reference in New Issue