Mercurial > sdl-ios-xcode
comparison include/SDL_opengl.h @ 4217:4c4113c2162c SDL-1.2
Fixed bug #706
Ken Bull 2009-02-25 13:22:02 PST
Adds Doxygen support for all headers (except config and boilerplate headers) in
the include folder for SDL-1.2 revision 4446.
While in general SDL is quite thoroughly commented, none of these comments are
correctly formatted for Doxygen and are generally inconsistent in their
formatting.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 21 Sep 2009 09:38:10 +0000 |
parents | a1b03ba2fcd0 |
children | 2d5c44f1be14 |
comparison
equal
deleted
inserted
replaced
4216:5b99971a27b4 | 4217:4c4113c2162c |
---|---|
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 /** @file SDL_opengl.h |
24 * This is a simple file to encapsulate the OpenGL API headers | |
25 */ | |
24 | 26 |
25 #include "SDL_config.h" | 27 #include "SDL_config.h" |
26 | 28 |
27 #ifdef __WIN32__ | 29 #ifdef __WIN32__ |
28 #define WIN32_LEAN_AND_MEAN | 30 #define WIN32_LEAN_AND_MEAN |
46 #endif | 48 #endif |
47 #ifndef NO_SDL_GLEXT | 49 #ifndef NO_SDL_GLEXT |
48 #undef __glext_h_ | 50 #undef __glext_h_ |
49 #endif | 51 #endif |
50 | 52 |
51 /* This file taken from "GLext.h" from the Jeff Molofee OpenGL tutorials. | 53 /** @name GLext.h |
52 It is included here because glext.h is not available on some systems. | 54 * This file taken from "GLext.h" from the Jeff Molofee OpenGL tutorials. |
53 If you don't want this version included, simply define "NO_SDL_GLEXT" | 55 * It is included here because glext.h is not available on some systems. |
56 * If you don't want this version included, simply define "NO_SDL_GLEXT" | |
54 */ | 57 */ |
58 /*@{*/ | |
55 #ifndef NO_SDL_GLEXT | 59 #ifndef NO_SDL_GLEXT |
56 #if !defined(__glext_h_) && !defined(GL_GLEXT_LEGACY) | 60 #if !defined(__glext_h_) && !defined(GL_GLEXT_LEGACY) |
57 #define __glext_h_ | 61 #define __glext_h_ |
58 | 62 |
59 #ifdef __cplusplus | 63 #ifdef __cplusplus |
6547 } | 6551 } |
6548 #endif | 6552 #endif |
6549 | 6553 |
6550 #endif | 6554 #endif |
6551 #endif /* NO_SDL_GLEXT */ | 6555 #endif /* NO_SDL_GLEXT */ |
6556 /*@}*/ |