summaryrefslogtreecommitdiff
path: root/dbe/midbe.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2010-02-25 11:37:05 -0800
committerKeith Packard <keithp@keithp.com>2010-02-25 12:48:27 -0800
commitde86a3a3448f0a55c1cd99aee9ea80070a589877 (patch)
tree5f2ec35ee10dcdcdf96299397dd0f6ac9e994121 /dbe/midbe.c
parentfbbadca7e88391e81ab0f470290f5eec36aa9ce7 (diff)
Allow for missing or disabled compat_outputHEADmaster
When the compat output is missing (I don't think this is actually possible), or is disabled (and hence has no crtc), we would like to avoid dereferencing NULL pointers. This patch creates inline functions to extract the current compat output, crtc or associated RandR crtc structure, carefully checking for NULL pointers everywhere. Reviewed-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'dbe/midbe.c')
0 files changed, 0 insertions, 0 deletions