OctaCore/src/shared/gl.hh
q66 6545f92317 start refactoring for single include file per source file
also, make sure only external symbols are visible globally
2020-04-18 02:20:56 +02:00

17 lines
278 B
C++

#ifndef GL_HH
#define GL_HH
#ifndef STANDALONE
# ifdef __APPLE__
# include "SDL2/SDL.h"
# define GL_GLEXT_LEGACY
# define __glext_h_
# include <OpenGL/gl.h>
# define main SDL_main
# else
# include <SDL.h>
# include <SDL_opengl.h>
# endif
#endif
#endif