boo/include/boo.hpp

17 lines
311 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__)
#include "CCGLContext.hpp"
2015-04-19 00:09:24 +00:00
typedef CCGLContext CGraphicsContext;
2015-04-18 21:45:34 +00:00
#elif __linux__
#include "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