Better ShmPutImage support in Xgl

This commit is contained in:
David Reveman 2005-03-08 09:12:17 +00:00
commit e09d1d2ae3
4 changed files with 135 additions and 1 deletions

View file

@ -30,6 +30,7 @@
#include "fb.h"
#ifdef MITSHM
#include "shmint.h"
static ShmFuncs shmFuncs = { NULL, xglShmPutImage };
#endif
#ifdef RENDER
#include "glyphstr.h"
@ -201,7 +202,7 @@ xglScreenInit (ScreenPtr pScreen,
return FALSE;
#ifdef MITSHM
ShmRegisterFuncs (pScreen, NULL);
ShmRegisterFuncs (pScreen, &shmFuncs);
#endif
#ifdef RENDER