2016-02-07 15:42:02 -05:00
|
|
|
//
|
|
|
|
// OpenGL.h
|
|
|
|
// Clock Signal
|
|
|
|
//
|
|
|
|
// Created by Thomas Harte on 07/02/2016.
|
2018-05-13 15:19:52 -04:00
|
|
|
// Copyright 2016 Thomas Harte. All rights reserved.
|
2016-02-07 15:42:02 -05:00
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef OpenGL_h
|
|
|
|
#define OpenGL_h
|
|
|
|
|
|
|
|
// TODO: figure out correct include paths for other platforms.
|
2016-03-08 22:53:29 -05:00
|
|
|
#ifdef __APPLE__
|
|
|
|
#if TARGET_OS_IPHONE
|
|
|
|
#else
|
|
|
|
#include <OpenGL/OpenGL.h>
|
|
|
|
#include <OpenGL/gl3.h>
|
2017-01-08 11:13:20 -05:00
|
|
|
#include <OpenGL/gl3ext.h>
|
2016-03-08 22:53:29 -05:00
|
|
|
#endif
|
2017-11-08 22:36:41 -05:00
|
|
|
#else
|
2017-11-09 22:04:49 -05:00
|
|
|
#define GL_GLEXT_PROTOTYPES
|
2017-11-08 22:36:41 -05:00
|
|
|
#include <GL/gl.h>
|
2016-03-08 22:53:29 -05:00
|
|
|
#endif
|
2016-02-07 15:42:02 -05:00
|
|
|
|
|
|
|
#endif /* OpenGL_h */
|