Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Shader
- {
- public:
- struct error: public glerror {
- enum Type {
- UnknownType,
- CreationFailed,
- CompilationFailed,
- IsNotShader,
- HigherVersionRequired
- };
- error(Type type);
- const char* what() const noexcept;
- Type type;
- };
Advertisement
Add Comment
Please, Sign In to add comment