#ifndef GL_HH #define GL_HH #ifndef STANDALONE # ifdef __APPLE__ # include "SDL2/SDL.h" # define GL_GLEXT_LEGACY # define __glext_h_ # include # define main SDL_main # else # include # include # endif #endif static inline uint hthash(GLuint key) { return key; } static inline bool htcmp(GLuint x, GLuint y) { return x==y; } #endif