filename | src/drivers/video_gl.h |
changeset | 736:a02d1475ccfd |
prev | 669:ab344e42bca9 |
next | 854:130928a3cdcb |
author | nkeynes |
date | Mon Jul 14 07:44:42 2008 +0000 (12 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 +00001.2 +++ b/src/drivers/video_gl.h Mon Jul 14 07:44:42 2008 +00001.3 @@ -16,8 +16,12 @@1.4 * GNU General Public License for more details.1.5 */1.7 -#ifndef video_gl_common_H1.8 -#define video_gl_common_H1.9 +#ifndef lxdream_video_gl_H1.10 +#define lxdream_video_gl_H 11.11 +1.12 +#ifdef __cplusplus1.13 +extern "C" {1.14 +#endif1.16 /**1.17 * Generic GL routine to draw the given frame buffer into a texture1.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.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.31 -#endif /* !video_gl_common_H */1.32 +#ifdef __cplusplus1.33 +}1.34 +#endif1.35 +1.36 +#endif /* !lxdream_video_gl_H */
.