]> git.pld-linux.org Git - packages/xorg-driver-video-nouveau.git/blob - pc.patch
- adjust API for political correctness of xserver 21, rel 3
[packages/xorg-driver-video-nouveau.git] / pc.patch
1 --- xf86-video-nouveau-1.0.17/src/nv_driver.c~  2021-01-23 19:24:38.000000000 +0100
2 +++ xf86-video-nouveau-1.0.17/src/nv_driver.c   2021-11-03 16:57:15.022450372 +0100
3 @@ -559,16 +559,16 @@
4  {
5         RegionRec pixregion;
6  
7 -       PixmapRegionInit(&pixregion, dirty->slave_dst);
8 +       PixmapRegionInit(&pixregion, dirty->secondary_dst);
9  
10 -       DamageRegionAppend(&dirty->slave_dst->drawable, &pixregion);
11 +       DamageRegionAppend(&dirty->secondary_dst->drawable, &pixregion);
12  #ifdef HAS_DIRTYTRACKING_ROTATION
13         PixmapSyncDirtyHelper(dirty);
14  #else
15         PixmapSyncDirtyHelper(dirty, &pixregion);
16  #endif
17  
18 -       DamageRegionProcessPending(&dirty->slave_dst->drawable);
19 +       DamageRegionProcessPending(&dirty->secondary_dst->drawable);
20         RegionUninit(&pixregion);
21  }
22  
This page took 0.057282 seconds and 3 git commands to generate.