Search
lxdream.org :: lxdream/src/drivers/video_gl.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/drivers/video_gl.h
changeset 736:a02d1475ccfd
prev669:ab344e42bca9
next854:130928a3cdcb
author nkeynes
date Mon Jul 14 07:44:42 2008 +0000 (11 years ago)
permissions -rw-r--r--
last change Re-indent everything consistently
Fix include guards for consistency as well
file annotate diff log raw
1.1 --- a/src/drivers/video_gl.h Mon May 12 10:00:13 2008 +0000
1.2 +++ b/src/drivers/video_gl.h Mon Jul 14 07:44:42 2008 +0000
1.3 @@ -16,8 +16,12 @@
1.4 * GNU General Public License for more details.
1.5 */
1.6
1.7 -#ifndef video_gl_common_H
1.8 -#define video_gl_common_H
1.9 +#ifndef lxdream_video_gl_H
1.10 +#define lxdream_video_gl_H 1
1.11 +
1.12 +#ifdef __cplusplus
1.13 +extern "C" {
1.14 +#endif
1.15
1.16 /**
1.17 * Generic GL routine to draw the given frame buffer into a texture
1.18 @@ -50,7 +54,7 @@
1.19 * there's only one buffer this needs to be wrapped.
1.20 */
1.21 gboolean gl_read_render_buffer( unsigned char *target, render_buffer_t buffer,
1.22 - int rowstride, int colour_format );
1.23 + int rowstride, int colour_format );
1.24
1.25
1.26 /****** FBO handling (gl_fbo.c) ******/
1.27 @@ -59,4 +63,8 @@
1.28 void gl_fbo_init( display_driver_t driver );
1.29 void gl_fbo_detach();
1.30
1.31 -#endif /* !video_gl_common_H */
1.32 +#ifdef __cplusplus
1.33 +}
1.34 +#endif
1.35 +
1.36 +#endif /* !lxdream_video_gl_H */
.