#ifndef GL_HPP
#define GL_HPP

#define NO_SDL_GLEXT
#include <GL/gl.h>
#include <GL/glext.h>
#include <SDL/SDL_opengl.h>

// --- GL_VERSION_1_3 ---
extern PFNGLACTIVETEXTUREPROC glActiveTexture;

// --- GL_VERSION_2_0 ---
extern PFNGLATTACHSHADERPROC glAttachShader;
extern PFNGLCOMPILESHADERPROC glCompileShader;
extern PFNGLCREATEPROGRAMPROC glCreateProgram;
extern PFNGLCREATESHADERPROC glCreateShader;
extern PFNGLGETSHADERIVPROC glGetShaderiv;
extern PFNGLGETSHADERINFOLOGPROC glGetShaderInfoLog;
extern PFNGLGETUNIFORMLOCATIONPROC glGetUniformLocation;
extern PFNGLLINKPROGRAMPROC glLinkProgram;
extern PFNGLSHADERSOURCEPROC glShaderSource;
extern PFNGLUSEPROGRAMPROC glUseProgram;
extern PFNGLUNIFORM1FPROC glUniform1f;
extern PFNGLUNIFORM1IPROC glUniform1i;
extern PFNGLUNIFORM3FVPROC glUniform3fv;

bool InitGL();

#endif // GL_HPP
