Files
geant4/source/analysis/g4tools/include/tools/OpenGL
T
2020-12-04 12:30:43 +01:00

38 lines
610 B
Plaintext

// Copyright (C) 2010, Guy Barrand. All rights reserved.
// See the file tools.license for terms.
#ifndef tools_OpenGL
#define tools_OpenGL
#ifdef TOOLS_TOOLS_GL
#include "inlib_OpenGL"
#else //!TOOLS_TOOLS_GL
#if defined(__APPLE__)
#include <TargetConditionals.h>
#endif
#if TARGET_OS_IPHONE
#include <OpenGLES/ES1/gl.h>
#elif defined(ANDROID)
#include <GLES/gl.h>
#elif _WIN32
#include <windows.h>
#include <GL/gl.h>
#elif __APPLE__
#ifdef BUSH_USE_AGL
#include <OpenGL/gl.h> //Cocoa
#else
#include <GL/gl.h> //Macports X11 GL.
#endif
#else
#include <GL/gl.h>
#endif
#endif //TOOLS_TOOLS_GL
#endif