Get it to compile.

This commit is contained in:
Eric Anholt 2006-04-28 14:59:52 -07:00
parent 941a49f91e
commit a4a4ced50c
2 changed files with 5 additions and 3 deletions

View File

@ -24,7 +24,7 @@ SUBDIRS = xvmc
# -avoid-version prevents gratuitous .0.0.0 version numbers on the end
# _ladir passes a dummy rpath to libtool so the thing will actually link
# TODO: -nostdlib/-Bstatic/-lgcc platform magic, not installing the .a, etc.
AM_CFLAGS = @XORG_CFLAGS@ @DRI_CFLAGS@ -DI830_XV
AM_CFLAGS = @XORG_CFLAGS@ @DRI_CFLAGS@ -DI830_XV -DI830_USE_XAA -DI830_USE_EXA
i810_drv_la_LTLIBRARIES = i810_drv.la
i810_drv_la_LDFLAGS = -module -avoid-version
@ -54,7 +54,9 @@ i810_drv_la_SOURCES = \
i830_modes.c \
i830_video.c \
i830_rotate.c \
i830_randr.c
i830_randr.c \
i830_exa.c \
i830_xaa.c
if DRI
i810_drv_la_SOURCES += \

View File

@ -5724,7 +5724,7 @@ I830BIOSSwitchMode(int scrnIndex, DisplayModePtr mode, int flags)
/* Sync the engine before mode switch */
#ifdef I830_USE_XAA
if (!pI830->noAccel && !pI830->useEXA)
if (!pI830->noAccel && !pI830->useEXA) {
(*pI830->AccelInfoRec->Sync)(pScrn);
pI830->AccelInfoRec->NeedToSync = FALSE;
}