diff options
author | Keith Packard <keithp@keithp.com> | 2003-10-14 05:07:39 +0000 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2003-10-14 05:07:39 +0000 |
commit | 4b844cafb2516139c8407822b61939cd6c743742 (patch) | |
tree | 0e1232bbf30f353aeec8567288f89b02f2aee582 /hw/kdrive/src/kmode.c | |
parent | cdf3377f6d3789628495ac64df80ac7dc235e46d (diff) |
Check for off-screen pixmap support in KaaDrawableIsOffscreenPixmap. -Wall
fixes. Allocate pixmap private space only for screens with off-screen
pixmap support
Diffstat (limited to 'hw/kdrive/src/kmode.c')
-rw-r--r-- | hw/kdrive/src/kmode.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/hw/kdrive/src/kmode.c b/hw/kdrive/src/kmode.c index 989f1e582..e1e82dce7 100644 --- a/hw/kdrive/src/kmode.c +++ b/hw/kdrive/src/kmode.c @@ -299,7 +299,7 @@ KdTuneMode (KdScreenInfo *screen, Bool (*supported) (KdScreenInfo *, const KdMonitorTiming *)) { - const KdMonitorTiming *t, *new; + const KdMonitorTiming *t; while (!(*usable) (screen)) { @@ -369,8 +369,6 @@ KdRandRGetTiming (ScreenPtr pScreen, int rate, RRScreenSizePtr pSize) { - KdScreenPriv(pScreen); - KdScreenInfo *screen = pScreenPriv->screen; int i; const KdMonitorTiming *t; |