Define an empty inline intel_sync_close() in a header for dri2 to match
newer intel code instead of putting an ifdef around the call.
This commit is contained in:
parent
b4ced79982
commit
7f4dc93108
@ -743,7 +743,7 @@ Bool intel_sync_init(ScreenPtr screen);
|
|||||||
void intel_sync_close(ScreenPtr screen);
|
void intel_sync_close(ScreenPtr screen);
|
||||||
#else
|
#else
|
||||||
static inline Bool intel_sync_init(ScreenPtr screen) { return 0; }
|
static inline Bool intel_sync_init(ScreenPtr screen) { return 0; }
|
||||||
void intel_sync_close(ScreenPtr screen);
|
static inline void intel_sync_close(ScreenPtr screen) { }
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -1188,9 +1188,7 @@ static Bool I830CloseScreen(CLOSE_SCREEN_ARGS_DECL)
|
|||||||
intel->dri3 = DRI_NONE;
|
intel->dri3 = DRI_NONE;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if HAVE_DRI3
|
|
||||||
intel_sync_close(screen);
|
intel_sync_close(screen);
|
||||||
#endif
|
|
||||||
|
|
||||||
xf86GARTCloseScreen(scrn->scrnIndex);
|
xf86GARTCloseScreen(scrn->scrnIndex);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user