onilink_

Untitled

Feb 10th, 2019
298
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.34 KB | None | 0 0
  1. class Shader
  2. {
  3. public:
  4.     struct error: public glerror {
  5.         enum Type {
  6.             UnknownType,
  7.             CreationFailed,
  8.             CompilationFailed,
  9.             IsNotShader,
  10.             HigherVersionRequired
  11.         };
  12.         error(Type type);
  13.         const char* what() const noexcept;
  14.         Type type;
  15.     };
Advertisement
Add Comment
Please, Sign In to add comment