mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
Forgot to check in these for XF86DGA stuff
This commit is contained in:
parent
87c8772066
commit
bcd844a43a
@ -690,6 +690,13 @@
|
||||
#define X11_LIBS X11
|
||||
#defer HAVE_X11 $[and $[IS_LINUX],$[libtest $[X11_LPATH],$[X11_LIBS]]]
|
||||
|
||||
// This defines if we have XF86DGA installed. This enables smooth
|
||||
// FPS-style mouse in glxdisplay, when mouse mode M_relative is used.
|
||||
#define XF86DGA_IPATH /usr/include/X11/extensions
|
||||
#define XF86DGA_LPATH /usr/lib
|
||||
#define XF86DGA_LIBS Xxf86dga
|
||||
#defer HAVE_XF86DGA $[libtest $[XF86DGA_LPATH],$[XF86DGA_LIBS]]
|
||||
|
||||
// How about GLX?
|
||||
#define GLX_IPATH
|
||||
#define GLX_LPATH
|
||||
|
@ -146,7 +146,11 @@
|
||||
//#print - Did not find SDL
|
||||
//#endif
|
||||
#if $[HAVE_X11]
|
||||
#if $[HAVE_XF86DGA]
|
||||
#print + X11, with XFree86-DGA
|
||||
#else
|
||||
#print + X11
|
||||
#endif
|
||||
#else
|
||||
#print - Did not find X11
|
||||
#endif
|
||||
@ -382,6 +386,9 @@ $[cdefine HAVE_SDL]
|
||||
/* Define if we have X11. */
|
||||
$[cdefine HAVE_X11]
|
||||
|
||||
/* Define if we have the XFree86-DGA extension. */
|
||||
$[cdefine HAVE_XF86DGA]
|
||||
|
||||
/* Define if we want to compile the threading code. */
|
||||
$[cdefine HAVE_THREADS]
|
||||
|
||||
|
@ -143,6 +143,13 @@
|
||||
#define x11_framework $[X11_FRAMEWORK]
|
||||
#endif
|
||||
|
||||
#if $[HAVE_XF86DGA]
|
||||
#define xf86dga_ipath $[wildcard $[XF86DGA_IPATH]]
|
||||
#define xf86dga_lpath $[wildcard $[XF86DGA_LPATH]]
|
||||
#define xf86dga_cflags $[XF86DGA_CFLAGS]
|
||||
#define xf86dga_libs $[XF86DGA_LIBS]
|
||||
#endif
|
||||
|
||||
#if $[HAVE_MESA]
|
||||
#define mesa_ipath $[wildcard $[MESA_IPATH]]
|
||||
#define mesa_lpath $[wildcard $[MESA_LPATH]]
|
||||
|
Loading…
x
Reference in New Issue
Block a user