gfx_gfxsys.hh

Go to the documentation of this file.
00001 /*
00008  * LEGAL:   COPYRIGHT (C) 2004 JIM E. BROOKS
00009  *          THIS SOURCE CODE IS RELEASED UNDER THE TERMS
00010  *          OF THE GNU GENERAL PUBLIC LICENSE VERSION 2 (GPL 2).
00011  *****************************************************************************/
00012 
00013 #ifndef GFX_GFXSYS_HH
00014 #define GFX_GFXSYS_HH 1
00015 
00016 // Include graphics-system headers.
00017 // No new OpenGL extensions are actually used, rather,
00018 // standard features in recent OpenGL were once extensions.
00019 #if GFXSYS_OPENGL
00020 #   ifndef GL_GLEXT_PROTOTYPES
00021 #       define GL_GLEXT_PROTOTYPES 1  // Kludge?  Or does OpenGL require apps to define it?
00022 #   endif
00023 #   ifdef __APPLE_CC__
00024 #       include <GLUT/glut.h>
00025 #   else
00026 #       include <GL/glut.h>
00027 #   endif
00028 #   include <GL/gl.h>
00029 #   include <GL/glext.h>
00030 #else
00031 #   error "unsupported gfxsys"
00032 #endif
00033 
00034 #endif // GFX_GFXSYS_HH
Palomino 3D Engine documents generated by doxygen 1.5.3 on Fri Nov 23 11:26:10 2007