diff options
author | Dave Airlie <airlied@redhat.com> | 2012-05-16 15:49:30 +0100 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-05-16 15:49:30 +0100 |
commit | 5ce9342f5abfc34e0f1e13e0be8d2c3d4888422f (patch) | |
tree | de7fe114de83c0976a255d12fc427559b1ffdb61 /src/nv50_accel.c | |
parent | 1c8eb7da72f1d272aa5eb6f549d9a5eef6e40df4 (diff) | |
download | xorg-driver-xf86-video-nouveau-screen-conv-api.tar.gz |
nouveau: convert to new screen conversion APIsscreen-conv-api
The compat header takes care of the old server vs new server.
this commit was autogenerated from util/modular/x-driver-screen-scrn-conv.sh
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/nv50_accel.c')
-rw-r--r-- | src/nv50_accel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nv50_accel.c b/src/nv50_accel.c index 42b27f0..16ff643 100644 --- a/src/nv50_accel.c +++ b/src/nv50_accel.c @@ -30,7 +30,7 @@ void NV50SyncToVBlank(PixmapPtr ppix, BoxPtr box) { - ScrnInfoPtr pScrn = xf86Screens[ppix->drawable.pScreen->myNum]; + ScrnInfoPtr pScrn = xf86ScreenToScrn(ppix->drawable.pScreen); NVPtr pNv = NVPTR(pScrn); struct nouveau_pushbuf *push = pNv->pushbuf; int crtcs; |