comparison include/SDL_opengl.h @ 3407:d3baf5ac4e37

Partial fix for bug #859 Header file update from Ken for improved doxygen output
author Sam Lantinga <slouken@libsdl.org>
date Mon, 19 Oct 2009 13:31:58 +0000
parents 08c5964f2a34
children 7f743e9b0b5b
comparison
equal deleted inserted replaced
3406:8ae607392409 3407:d3baf5ac4e37
18 18
19 Sam Lantinga 19 Sam Lantinga
20 slouken@libsdl.org 20 slouken@libsdl.org
21 */ 21 */
22 22
23 /* This is a simple file to encapsulate the OpenGL API headers */ 23 /**
24 * \file SDL_opengl.h
25 *
26 * This is a simple file to encapsulate the OpenGL API headers.
27 */
24 28
25 #ifndef _SDL_opengl_h 29 #ifndef _SDL_opengl_h
26 #define _SDL_opengl_h 30 #define _SDL_opengl_h
27 31
28 #include "SDL_config.h" 32 #include "SDL_config.h"
47 #endif 51 #endif
48 #ifndef NO_SDL_GLEXT 52 #ifndef NO_SDL_GLEXT
49 #undef __glext_h_ 53 #undef __glext_h_
50 #endif 54 #endif
51 55
52 /* This file is included because glext.h is not available on some systems. 56 /**
53 If you don't want this version included, simply define "NO_SDL_GLEXT" 57 * \file SDL_opengl.h
54 The latest version is available from: 58 *
55 http://www.opengl.org/registry/ 59 * This file is included because glext.h is not available on some systems.
60 * If you don't want this version included, simply define ::NO_SDL_GLEXT.
61 *
62 * The latest version is available from:
63 * http://www.opengl.org/registry/
56 */ 64 */
65
66 /**
67 * \def NO_SDL_GLEXT
68 *
69 * Define this if you have your own version of glext.h and want to disable the
70 * version included in SDL_opengl.h.
71 */
72
57 #if !defined(NO_SDL_GLEXT) && !defined(GL_GLEXT_LEGACY) 73 #if !defined(NO_SDL_GLEXT) && !defined(GL_GLEXT_LEGACY)
58 /* *INDENT-OFF* */ 74 /* *INDENT-OFF* */
59 #ifndef __glext_h_ 75 #ifndef __glext_h_
60 #define __glext_h_ 76 #define __glext_h_
61 77