src/via_display.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 74e95a634506ab92b4c31ee1423bf9349067e0b5 Author: Kevin Brace <kevinbr...@gmx.com> Date: Wed Mar 9 00:05:44 2016 -0800 set_origin callback of xf86CrtcFuncsRec compilation error It appears that set_origin callback function of xf86CrtcFuncsRec structure is available only if ABI_VIDEODRV_VERSION is greater than 2. Signed-off-by: Kevin Brace <kevinbr...@gmx.com> diff --git a/src/via_display.c b/src/via_display.c index be1bebe..15289e9 100644 --- a/src/via_display.c +++ b/src/via_display.c @@ -1241,7 +1241,7 @@ static const xf86CrtcFuncsRec iga1_crtc_funcs = { .show_cursor = iga1_crtc_show_cursor, .hide_cursor = iga1_crtc_hide_cursor, .load_cursor_argb = iga_crtc_load_cursor_argb, -#ifdef RANDR_12_INTERFACE +#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) > 2 .set_origin = iga1_crtc_set_origin, #endif .destroy = iga_crtc_destroy, @@ -1658,7 +1658,7 @@ static const xf86CrtcFuncsRec iga2_crtc_funcs = { .show_cursor = iga2_crtc_show_cursor, .hide_cursor = iga2_crtc_hide_cursor, .load_cursor_argb = iga_crtc_load_cursor_argb, -#ifdef RANDR_12_INTERFACE +#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) > 2 .set_origin = iga2_crtc_set_origin, #endif .destroy = iga_crtc_destroy, _______________________________________________ Openchrome-devel mailing list Openchrome-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/openchrome-devel