The offscreen area used by EXA needs to be declared even with lazy evaluation.
Signed-off-by: Connor Behan <[email protected]> --- src/r128_cursor.c | 2 ++ src/r128_driver.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/r128_cursor.c b/src/r128_cursor.c index 974a6d5..b76913c 100644 --- a/src/r128_cursor.c +++ b/src/r128_cursor.c @@ -261,6 +261,8 @@ Bool R128CursorInit(ScreenPtr pScreen) FBAreaPtr fbarea = NULL; #ifdef USE_EXA ExaOffscreenArea* osArea = NULL; +#else + void* osArea = NULL; #endif int width; int height; diff --git a/src/r128_driver.c b/src/r128_driver.c index 2bbb91e..0ca625b 100644 --- a/src/r128_driver.c +++ b/src/r128_driver.c @@ -2244,6 +2244,8 @@ Bool R128ScreenInit(SCREEN_INIT_ARGS_DECL) Bool noAccel; #ifdef USE_EXA ExaOffscreenArea* osArea = NULL; +#else + void* osArea = NULL; #endif char *optstr; -- 1.7.11.1 _______________________________________________ xorg-driver-ati mailing list [email protected] http://lists.x.org/mailman/listinfo/xorg-driver-ati
