exa: disable shared pixmaps

They got re-enabled in ee7c684f21
("Reimplement ShmPutImage.")
This commit is contained in:
Julien Cristau 2008-09-16 17:13:42 +02:00
parent 52bbfc5bfa
commit b4762c0245

View File

@ -42,6 +42,10 @@ DevPrivateKey exaScreenPrivateKey = &exaScreenPrivateKeyIndex;
static int exaPixmapPrivateKeyIndex;
DevPrivateKey exaPixmapPrivateKey = &exaPixmapPrivateKeyIndex;
#ifdef MITSHM
static ShmFuncs exaShmFuncs = { NULL, NULL };
#endif
static _X_INLINE void*
ExaGetPixmapAddress(PixmapPtr p)
{
@ -924,6 +928,12 @@ exaDriverInit (ScreenPtr pScreen,
}
#endif
#ifdef MITSHM
/*
* Don't allow shared pixmaps.
*/
ShmRegisterFuncs(pScreen, &exaShmFuncs);
#endif
/*
* Hookup offscreen pixmaps
*/