diff options
author | Keith Packard <keithp@keithp.com> | 2010-02-25 11:37:05 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2010-02-25 12:48:27 -0800 |
commit | de86a3a3448f0a55c1cd99aee9ea80070a589877 (patch) | |
tree | 5f2ec35ee10dcdcdf96299397dd0f6ac9e994121 /hw/xfree86/dri/xf86dri.c | |
parent | fbbadca7e88391e81ab0f470290f5eec36aa9ce7 (diff) |
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 'hw/xfree86/dri/xf86dri.c')
0 files changed, 0 insertions, 0 deletions