sna/video: Remove XvMCScreenInitProc

The symbols disappears without warning in xorg-1.14

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=58552
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2012-12-20 09:46:32 +00:00
parent ee99511846
commit f91a24fdba
1 changed files with 2 additions and 2 deletions

View File

@ -206,7 +206,7 @@ Bool sna_video_xvmc_setup(struct sna *sna,
char bus[64];
int i;
if (!XvMCScreenInitProc)
if (!xf86LoaderCheckSymbol("XvMCScreenInit"))
return FALSE;
/* Needs KMS support. */
@ -253,7 +253,7 @@ Bool sna_video_xvmc_setup(struct sna *sna,
adaptors->surfaces = surface_info_i915;
}
if (XvMCScreenInitProc(screen, 1, adaptors) != Success) {
if (XvMCScreenInit(screen, 1, adaptors) != Success) {
xf86DrvMsg(sna->scrn->scrnIndex, X_INFO,
"[XvMC] Failed to initialize XvMC.\n");
free(adaptors);