]> git.tdb.fi Git - libs/gl.git/blobdiff - source/shader.h
Check the flat qualifier from the correct member
[libs/gl.git] / source / shader.h
diff --git a/source/shader.h b/source/shader.h
deleted file mode 100644 (file)
index 63af9b3..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-#ifndef MSP_GL_SHADER_H_
-#define MSP_GL_SHADER_H_
-
-#include <string>
-#include "gl.h"
-
-namespace Msp {
-namespace GL {
-
-class Shader
-{
-private:
-       unsigned id;
-       bool compiled;
-
-protected:
-       Shader(GLenum t);
-       Shader(GLenum t, const std::string &);
-private:
-       void init(GLenum);
-public:
-       virtual ~Shader();
-
-       void source(unsigned count, const char **str, const int *len);
-       void source(const std::string &str);
-       void source(const char *str, int len);
-       void compile();
-       unsigned get_id() const { return id; }
-       bool is_compiled() const { return compiled; }
-       std::string get_info_log() const;
-};
-
-
-class VertexShader: public Shader
-{
-public:
-       VertexShader();
-       VertexShader(const std::string &);
-};
-
-
-class FragmentShader: public Shader
-{
-public:
-       FragmentShader();
-       FragmentShader(const std::string &);
-};
-
-} // namespace GL
-} // namespace Msp
-
-#endif