]> git.tdb.fi Git - libs/gl.git/blobdiff - source/shader.h
Inherit Loaders from the ObjectLoader classes
[libs/gl.git] / source / shader.h
index dfa5af3b5c18da91ed15fd062b32f7d5f8568ff0..06f769ccb94d8d66b7025fecfcc3de70688a8f10 100644 (file)
@@ -9,7 +9,7 @@ Distributed under the LGPL
 #define MSP_GL_SHADER_H_
 
 #include <string>
-#include <GL/gl.h>
+#include "gl.h"
 #include "types.h"
 
 namespace Msp {
@@ -26,6 +26,9 @@ class Shader
 public:
        Shader(ShaderType t);
        Shader(ShaderType t, const std::string &);
+private:
+       void init(ShaderType);
+public:
        ~Shader();
 
        void source(sizei count, const char **str, const int *len);