diff options
Diffstat (limited to 'include/mbgl/shader/shader.hpp')
-rw-r--r-- | include/mbgl/shader/shader.hpp | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/include/mbgl/shader/shader.hpp b/include/mbgl/shader/shader.hpp deleted file mode 100644 index 27e831a510..0000000000 --- a/include/mbgl/shader/shader.hpp +++ /dev/null @@ -1,28 +0,0 @@ -#ifndef MBGL_RENDERER_SHADER -#define MBGL_RENDERER_SHADER - -#include <cstdint> -#include <array> -#include <mbgl/util/noncopyable.hpp> - -namespace mbgl { - -class Shader : private util::noncopyable { -public: - Shader(const char *name, const char *vertex, const char *fragment); - ~Shader(); - const char *name; - bool valid; - uint32_t program; - - inline uint32_t getID() const { - return program; - } - -private: - bool compileShader(uint32_t *shader, uint32_t type, const char *source); -}; - -} - -#endif |