Files
geant4/source/externals/g4tools/include/tools/OpenGL
T
2021-06-25 16:12:29 +02:00

38 lines
623 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 TOOLS_USE_GL_GL_H
#include <GL/gl.h> //Macports X11 GL.
#else
#include <OpenGL/gl.h> //Apple/OpenGL.
#endif
#else
#include <GL/gl.h>
#endif
#endif //TOOLS_TOOLS_GL
#endif