Search
lxdream.org :: lxdream/src/drivers/video_glx.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/drivers/video_glx.h
changeset 736:a02d1475ccfd
prev561:533f6b478071
author nkeynes
date Mon Mar 05 11:41:03 2012 +1000 (12 years ago)
permissions -rw-r--r--
last change Small cleanups:
Refactor the post-windowing setup into gl_init_driver() in video_gl.c
Move gl_sl.c into src/drivers and tidy up a bit.
Fix OS X compiling plugins with -mdynamic-no-pic
file annotate diff log raw
1.1 --- a/src/drivers/video_glx.h Tue Jan 01 05:08:38 2008 +0000
1.2 +++ b/src/drivers/video_glx.h Mon Mar 05 11:41:03 2012 +1000
1.3 @@ -16,12 +16,16 @@
1.4 * GNU General Public License for more details.
1.5 */
1.6
1.7 -#ifndef video_glx_driver_H
1.8 -#define video_glx_driver_H
1.9 +#ifndef lxdream_video_glx_H
1.10 +#define lxdream_video_glx_H 1
1.11
1.12 #include "X11/Xlib.h"
1.13 #include "display.h"
1.14
1.15 +#ifdef __cplusplus
1.16 +extern "C" {
1.17 +#endif
1.18 +
1.19 /**
1.20 * Initialize GLX support. Detect capabilities, visuals, etc.
1.21 * Must be called before any other GLX functions
1.22 @@ -52,4 +56,8 @@
1.23 */
1.24 void video_glx_shutdown();
1.25
1.26 +#ifdef __cplusplus
1.27 +}
1.28 #endif
1.29 +
1.30 +#endif
.