diff options
author | Keith Packard <keithp@mandolin.keithp.com> | 2007-01-02 00:16:41 -0800 |
---|---|---|
committer | Keith Packard <keithp@mandolin.keithp.com> | 2007-01-02 00:16:41 -0800 |
commit | 5080307230d534b84090bfefc13ac437d53f915d (patch) | |
tree | 19db5b125a1afebddcd62002ee8176bddc60698d /src/i830_randr.c | |
parent | 237847007afb5a429a50b6aa0b1acc239326571b (diff) |
Fix driver to build on RandR 1.2 systems again.
Changes to move initial config code to RandR 1.1/1.2 common path broke
code required only for RandR 1.2.
Diffstat (limited to 'src/i830_randr.c')
-rw-r--r-- | src/i830_randr.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/i830_randr.c b/src/i830_randr.c index 55ff31e2..d5ccce37 100644 --- a/src/i830_randr.c +++ b/src/i830_randr.c @@ -864,7 +864,11 @@ xf86RandR12CreateObjects12 (ScreenPtr pScreen) static Bool xf86RandR12CreateScreenResources12 (ScreenPtr pScreen) { - + int c; + ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum]; + XF86RandRInfoPtr randrp = XF86RANDRINFO(pScreen); + xf86CrtcConfigPtr config = XF86_CRTC_CONFIG_PTR(pScrn); + for (c = 0; c < config->num_crtc; c++) xf86RandR12CrtcNotify (config->crtc[c]->randr_crtc); |