]> git.tdb.fi Git - libs/gl.git/blobdiff - source/shader.h
Windows compatibility:
[libs/gl.git] / source / shader.h
index 43d03ce109cd61343099db8c5b9a11df6c27d398..cd01f2acda49a8c3374bc97c356263bccb653b91 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 {
@@ -31,7 +31,7 @@ public:
        void source(sizei count, const char **str, const int *len);
        void source(const std::string &str);
        void source(const char *str, int len);
-       bool compile();
+       void compile();
        uint get_id() const { return id; }
        bool get_compiled() const { return compiled; }
        int get_param(GLenum param) const;