mirror of
https://github.com/X11Libre/xf86-video-intel.git
synced 2026-03-24 01:24:12 +00:00
Fix i810 compilation without Xinerama (Bug #1180, Simon Schubert).
This commit is contained in:
@@ -1449,9 +1449,12 @@ I830PutImage(ScrnInfoPtr pScrn,
|
||||
if (pI830->entityPrivate) {
|
||||
if (pI830->entityPrivate->XvInUse != -1 &&
|
||||
pI830->entityPrivate->XvInUse != pI830->pipe) {
|
||||
#ifdef PANORAMIX
|
||||
if (!noPanoramiXExtension) {
|
||||
return Success; /* faked for trying to share it */
|
||||
} else {
|
||||
} else
|
||||
#endif
|
||||
{
|
||||
return BadAlloc;
|
||||
}
|
||||
}
|
||||
@@ -1834,9 +1837,12 @@ I830DisplaySurface(XF86SurfacePtr surface,
|
||||
if (pI830->entityPrivate) {
|
||||
if (pI830->entityPrivate->XvInUse != -1 &&
|
||||
pI830->entityPrivate->XvInUse != pI830->pipe) {
|
||||
#ifdef PANORAMIX
|
||||
if (!noPanoramiXExtension) {
|
||||
return Success; /* faked for trying to share it */
|
||||
} else {
|
||||
} else
|
||||
#endif
|
||||
{
|
||||
return BadAlloc;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user