platform dirs

This commit is contained in:
Jack Andersen
2015-04-18 14:29:44 -10:00
parent edb667d1ae
commit 741f0df6f3
8 changed files with 9 additions and 7 deletions

View File

@@ -0,0 +1,27 @@
#ifndef CCGLCONTEXT_HPP
#define CCGLCONTEXT_HPP
#include "IGraphicsContext.hpp"
#include <OpenGL/OpenGL.h>
class CCGLContext final : public IGraphicsContext
{
public:
CCGLContext();
virtual ~CCGLContext();
bool create();
void setMinVersion (const int& min) override;
void setMajorVersion(const int& maj) override;
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