// 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__	
#include <OpenGL/gl.h> //Cocoa
#else
#include <GL/gl.h>
#endif

#endif //TOOLS_TOOLS_GL


#endif
