/*
 *
 * Description  : Define some data types and constants used by OpenGL, it is used only in case when real OpenGL cannot be used (HPC cluster)
 * Author       : Antonín Míšek antonin.misek@skoda-auto.cz
 *
 * Purpose      : Replace GL/glew.h
 */

#ifndef __OGLCONSTANTS__H__
#define __OGLCONSTANTS__H__

typedef unsigned int GLuint;
typedef int GLint;
typedef int GLsizei;
typedef unsigned int GLenum;
typedef unsigned char GLboolean;
typedef float GLfloat;

#define GL_FALSE 0
#define GL_ZERO 0
#define GL_POINTS 0x0000
#define GL_ONE 1
#define GL_LINES 0x0001
#define GL_LINE_STRIP 0x0003
#define GL_TRIANGLES 0x0004
#define GL_TRIANGLE_STRIP 0x0005
#define GL_TRIANGLE_FAN 0x0006
#define GL_QUADS 0x0007
#define GL_POLYGON 0x0009
#define GL_LEQUAL 0x0203
#define GL_SRC_COLOR 0x0300
#define GL_ONE_MINUS_SRC_COLOR 0x0301
#define GL_SRC_ALPHA 0x0302
#define GL_ONE_MINUS_SRC_ALPHA 0x0303
#define GL_DST_ALPHA 0x0304
#define GL_ONE_MINUS_DST_ALPHA 0x0305
#define GL_DST_COLOR 0x0306
#define GL_ONE_MINUS_DST_COLOR 0x0307
#define GL_SRC_ALPHA_SATURATE 0x0308

#endif
