mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-21 01:13:38 +00:00
Better ShmPutImage support in Xgl
This commit is contained in:
parent
5d9885c5b9
commit
e09d1d2ae3
4 changed files with 135 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue