OpenMiner/include/gl/OpenGL.hpp

31 lines
599 B
C++
Raw Normal View History

2014-12-15 16:47:30 +01:00
/*
* =====================================================================================
*
* Filename: OpenGL.hpp
*
2018-06-05 01:24:54 +02:00
* Description:
2014-12-15 16:47:30 +01:00
*
* Created: 15/12/2014 04:18:34
*
* Author: Quentin Bazin, <quent42340@gmail.com>
2014-12-15 16:47:30 +01:00
*
* =====================================================================================
*/
#ifndef OPENGL_HPP_
#define OPENGL_HPP_
2015-02-06 01:44:16 +01:00
#define GL_GLEXT_PROTOTYPES
#define GL3_PROTOTYPES 1
2014-12-15 16:47:30 +01:00
#ifdef __APPLE__
2014-12-20 12:59:59 +01:00
#include <OpenGL/gl.h>
2014-12-15 16:47:30 +01:00
#else
2014-12-20 01:46:31 +01:00
#ifdef __MINGW32__
#include <GL/glew.h>
#else
#include <GL/gl.h>
#endif
2014-12-15 16:47:30 +01:00
#endif
#endif // OPENGL_HPP_