Commit 66726064 authored by Kenneth Graunke's avatar Kenneth Graunke Committed by Keith Packard

modesetting: Fix build with --disable-glamor.

present.c: In function 'ms_present_flush':
present.c:204:9: error: implicit declaration of function

Bugzilla: Kenneth Graunke's avatarKenneth Graunke <>
Reviewed-by: Eric Anholt's avatarEric Anholt <>
Reviewed-by: Jasper St. Pierre's avatarJasper St. Pierre <>
Reviewed-by: Rob Clark's avatarRob Clark <>
Signed-off-by: Keith Packard's avatarKeith Packard <>
parent d7239288
......@@ -196,12 +196,14 @@ ms_present_abort_vblank(RRCrtcPtr crtc, uint64_t event_id, uint64_t msc)
static void
ms_present_flush(WindowPtr window)
#ifdef GLAMOR
ScreenPtr screen = window->drawable.pScreen;
ScrnInfoPtr scrn = xf86ScreenToScrn(screen);
modesettingPtr ms = modesettingPTR(scrn);
if (ms->drmmode.glamor)
static present_screen_info_rec ms_present_screen_info = {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment