update Xgl to changes in damage API. Remove some flags to support software
mesa
This commit is contained in:
parent
db2c83551c
commit
a85c33b52c
|
@ -338,9 +338,6 @@ InitOutput (ScreenInfo *pScreenInfo,
|
|||
unsigned long mask;
|
||||
unsigned long extraMask[] = {
|
||||
GLITZ_FORMAT_PBUFFER_MASK |
|
||||
GLITZ_FORMAT_DOUBLEBUFFER_MASK | GLITZ_FORMAT_ALPHA_SIZE_MASK,
|
||||
GLITZ_FORMAT_DOUBLEBUFFER_MASK | GLITZ_FORMAT_ALPHA_SIZE_MASK,
|
||||
GLITZ_FORMAT_ALPHA_SIZE_MASK,
|
||||
GLITZ_FORMAT_DOUBLEBUFFER_MASK,
|
||||
0
|
||||
};
|
||||
|
|
|
@ -64,6 +64,7 @@ xglPixmapCreateDamage (PixmapPtr pPixmap)
|
|||
pPixmapPriv->pDamage =
|
||||
DamageCreate (xglPixmapDamageReport, (DamageDestroyFunc) 0,
|
||||
DamageReportRawRegion, TRUE,
|
||||
pPixmap->drawable.pScreen,
|
||||
(void *) pPixmap);
|
||||
if (!pPixmapPriv->pDamage)
|
||||
return FALSE;
|
||||
|
|
Loading…
Reference in New Issue
Block a user