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:
jsg 2016-09-05 11:20:18 +00:00
parent b4ced79982
commit 7f4dc93108
2 changed files with 1 additions and 3 deletions

View File

@ -743,7 +743,7 @@ Bool intel_sync_init(ScreenPtr screen);
void intel_sync_close(ScreenPtr screen);
#else
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
/*

View File

@ -1188,9 +1188,7 @@ static Bool I830CloseScreen(CLOSE_SCREEN_ARGS_DECL)
intel->dri3 = DRI_NONE;
}
#if HAVE_DRI3
intel_sync_close(screen);
#endif
xf86GARTCloseScreen(scrn->scrnIndex);