boo/include/boo.hpp

17 lines
349 B
C++
Raw Normal View History

2015-04-18 21:45:34 +00:00
#ifndef BOO_HPP
#define BOO_HPP
2015-04-19 00:09:24 +00:00
#include "IGraphicsContext.hpp"
2015-04-18 21:45:34 +00:00
#if defined(_WIN32)
#error "No support for WGL"
#elif defined(__APPLE__)
2015-04-19 00:37:52 +00:00
#include "mac/CCGLContext.hpp"
2015-04-19 00:09:24 +00:00
typedef CCGLContext CGraphicsContext;
2015-04-19 00:37:52 +00:00
#elif defined(__GNUC__) || defined(__clang__)
#include "x11/CGLXContext.hpp"
2015-04-19 00:09:24 +00:00
typedef CGLXContext CGraphicsContext;
2015-04-18 21:45:34 +00:00
#endif
#endif // BOO_HPP