Includes are now supported in shader with the key #GLSL

This commit is contained in:
Tleety
2016-02-26 16:33:55 +01:00
parent f161fce719
commit b3038ef713
4 changed files with 42 additions and 11 deletions
+2
View File
@@ -21,6 +21,8 @@ public:
std::string GetFileName() const;
GLuint GetHandle() const;
bool IsCompiled() const;
static std::string ReadFile(std::string fileName);
private:
protected:
GLenum m_ShaderType;
std::string m_FileName;