include/SDL_opengl.h
changeset 1895 c121d94672cb
parent 1619 e79e4c5e531b
child 1978 542c78b6fb12
     1.1 --- a/include/SDL_opengl.h	Thu Jul 06 18:01:37 2006 +0000
     1.2 +++ b/include/SDL_opengl.h	Mon Jul 10 21:04:37 2006 +0000
     1.3 @@ -27,33 +27,35 @@
     1.4  #ifdef __WIN32__
     1.5  #define WIN32_LEAN_AND_MEAN
     1.6  #ifndef NOMINMAX
     1.7 -#define NOMINMAX	/* Don't defined min() and max() */
     1.8 +#define NOMINMAX                /* Don't defined min() and max() */
     1.9  #endif
    1.10  #include <windows.h>
    1.11  #endif
    1.12  #ifndef NO_SDL_GLEXT
    1.13 -#define __glext_h_  /* Don't let gl.h include glext.h */
    1.14 +#define __glext_h_              /* Don't let gl.h include glext.h */
    1.15  #endif
    1.16  #if defined(__MACOSX__)
    1.17 -#include <OpenGL/gl.h>	/* Header File For The OpenGL Library */
    1.18 -#include <OpenGL/glu.h>	/* Header File For The GLU Library */
    1.19 +#include <OpenGL/gl.h>          /* Header File For The OpenGL Library */
    1.20 +#include <OpenGL/glu.h>         /* Header File For The GLU Library */
    1.21  #elif defined(__MACOS__)
    1.22 -#include <gl.h>		/* Header File For The OpenGL Library */
    1.23 -#include <glu.h>	/* Header File For The GLU Library */
    1.24 +#include <gl.h>                 /* Header File For The OpenGL Library */
    1.25 +#include <glu.h>                /* Header File For The GLU Library */
    1.26  #else
    1.27 -#include <GL/gl.h>	/* Header File For The OpenGL Library */
    1.28 -#include <GL/glu.h>	/* Header File For The GLU Library */
    1.29 +#include <GL/gl.h>              /* Header File For The OpenGL Library */
    1.30 +#include <GL/glu.h>             /* Header File For The GLU Library */
    1.31  #endif
    1.32  #ifndef NO_SDL_GLEXT
    1.33  #undef __glext_h_
    1.34  #endif
    1.35  
    1.36 -/* This file taken from "GLext.h" from the Jeff Molofee OpenGL tutorials.
    1.37 -   It is included here because glext.h is not available on some systems.
    1.38 +/* This file is included because glext.h is not available on some systems.
    1.39     If you don't want this version included, simply define "NO_SDL_GLEXT"
    1.40 +   The latest version is available from:
    1.41 +	http://oss.sgi.com/projects/ogl-sample/registry/
    1.42   */
    1.43 -#ifndef NO_SDL_GLEXT
    1.44 -#if !defined(__glext_h_) && !defined(GL_GLEXT_LEGACY)
    1.45 +#if !defined(NO_SDL_GLEXT) && !defined(GL_GLEXT_LEGACY)
    1.46 +/* *INDENT-OFF* */
    1.47 +#ifndef __glext_h_
    1.48  #define __glext_h_
    1.49  
    1.50  #ifdef __cplusplus
    1.51 @@ -6548,4 +6550,5 @@
    1.52  #endif
    1.53  
    1.54  #endif
    1.55 +/* *INDENT-ON* */
    1.56  #endif /* NO_SDL_GLEXT */