// Copyright (C) 2010, Guy Barrand. All rights reserved.
// See the file tools.license for terms.

#ifndef tools_glbuf
#define tools_glbuf

//define of TOOLS_HAS_GL_VBO decided in the build systems.

// To have prototypes of glGenBuffers,etc...

#ifdef TOOLS_HAS_GL_VBO

#ifdef TOOLS_TOOLS_GL
#else

#if defined(__APPLE__)
#include <TargetConditionals.h>
#endif

#if TARGET_OS_IPHONE
#elif defined(ANDROID)
#elif _WIN32
#include <GL/glext.h>
#elif __APPLE__	
#include <OpenGL/glext.h> //Cocoa
#else
#include <GL/glext.h>
#endif

#endif //TOOLS_TOOLS_GL

#endif //TOOLS_HAS_GL_VBO

#endif
