boo/include/CCGLContext.hpp
2015-04-18 13:36:57 -10:00

25 lines
527 B
C++

#ifndef CCGLCONTEXT_HPP
#define CCGLCONTEXT_HPP
#include "IContext.hpp"
#include <OpenGL/OpenGL.h>
class CCGLContext final : public IContext
{
public:
CCGLContext();
virtual ~CCGLContext() {}
const std::string version() const override;
const std::string name() const override;
int depthSize() const override;
int redDepth() const override;
int greenDepth() const override;
int blueDepth() const override;
private:
int m_minVersion;
int m_majVersion;
};
#endif // CCGLCONTEXT_HPP