#pragma once


// *************************************************************** //
// CGP ASSERTION
//
// Uncomment the following definition to remove cgp runtime debug checks
//   (+) Speed-up execution: remove all run-time checks in array computation
//   (-) No more assert check and debuging help.
//   This should be only removed for final code  */
// *************************************************************** //
// #define CGP_NO_DEBUG



// *************************************************************** //
// OpenGL Version
// *************************************************************** //

#if defined(CGP_OPENGL_3_3)
    #define CGP_OPENGL_VERSION_MAJOR 3
    #define CGP_OPENGL_VERSION_MINOR 3
#elif defined(CGP_OPENGL_4_1)
    #define CGP_OPENGL_VERSION_MAJOR 4
    #define CGP_OPENGL_VERSION_MINOR 1
#elif defined(CGP_OPENGL_4_3)
    #define CGP_OPENGL_VERSION_MAJOR 4
    #define CGP_OPENGL_VERSION_MINOR 3
#elif defined(CGP_OPENGL_4_6)
    #define CGP_OPENGL_VERSION_MAJOR 4
    #define CGP_OPENGL_VERSION_MINOR 6
#else // default mode
    // Default is OpenGL 3.3 (compatible with WebGL)
    #define CGP_OPENGL_VERSION_MAJOR 3
    #define CGP_OPENGL_VERSION_MINOR 3
#endif

// To force the activation of OpenGL 4.6 (lastest OpenGL), 4.3/4.1 (for MacOS compatibility), change to the targeted VERSION_MAJOR and VERSION_MINOR
//#define CGP_OPENGL_VERSION_MAJOR 4
//#define CGP_OPENGL_VERSION_MINOR 1
//#define CGP_OPENGL_VERSION_MINOR 3
//#define CGP_OPENGL_VERSION_MINOR 6




