mirror of https://github.com/mpv-player/mpv
fix to compile when SHM is disabled
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2970 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
2a3e9d86da
commit
15ea5ffcfc
|
@ -27,7 +27,7 @@ LIBVO_EXTERN( x11 )
|
|||
|
||||
#include <X11/Xlib.h>
|
||||
#include <X11/Xutil.h>
|
||||
#include <X11/extensions/XShm.h>
|
||||
//#include <X11/extensions/XShm.h>
|
||||
#ifdef HAVE_XF86VM
|
||||
#include <X11/extensions/xf86vmode.h>
|
||||
#endif
|
||||
|
@ -74,6 +74,8 @@ static int X_already_started=0;
|
|||
|
||||
//static int vo_dwidth,vo_dheight;
|
||||
|
||||
static int Flip_Flag;
|
||||
|
||||
#define SH_MEM
|
||||
|
||||
#ifdef SH_MEM
|
||||
|
@ -92,8 +94,6 @@ static XShmSegmentInfo Shminfo[1];
|
|||
static int gXErrorFlag;
|
||||
static int CompletionType=-1;
|
||||
|
||||
static int Flip_Flag;
|
||||
|
||||
static void InstallXErrorHandler()
|
||||
{
|
||||
//XSetErrorHandler( HandleXError );
|
||||
|
|
Loading…
Reference in New Issue