]> git.tdb.fi Git - libs/gl.git/blobdiff - source/program.h
Add class Technique to share passes between Objects
[libs/gl.git] / source / program.h
index 3b86a9c6d17d4af1af0ae0f1596eb67246799733..fde4d85439a2cfe9e7cb82a62aebd965f111d082 100644 (file)
@@ -10,8 +10,8 @@ Distributed under the LGPL
 
 #include <list>
 #include <string>
-#include <GL/gl.h>
 #include <msp/datafile/loader.h>
+#include "gl.h"
 #include "types.h"
 
 namespace Msp {
@@ -47,6 +47,9 @@ public:
 
        Program();
        Program(const std::string &, const std::string &);
+private:
+       void init();
+public:
        virtual ~Program();
 
        void attach_shader(Shader &shader);