diff options
author | Joursoir <chat@joursoir.net> | 2021-04-04 14:41:23 +0000 |
---|---|---|
committer | Joursoir <chat@joursoir.net> | 2021-04-04 14:41:23 +0000 |
commit | f111b7f74024ba6d47c0d802185406aa9eacfa50 (patch) | |
tree | dfa85a0a73f35bfd3da83b59750aa50afe066137 /src/graphics/Shader.hpp | |
parent | 685ff91f73d4aa437d801e0c93dee2b904eb8880 (diff) | |
download | space-simulator-f111b7f74024ba6d47c0d802185406aa9eacfa50.tar.gz space-simulator-f111b7f74024ba6d47c0d802185406aa9eacfa50.tar.bz2 space-simulator-f111b7f74024ba6d47c0d802185406aa9eacfa50.zip |
Shader: read file with shader source code
Diffstat (limited to 'src/graphics/Shader.hpp')
-rw-r--r-- | src/graphics/Shader.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graphics/Shader.hpp b/src/graphics/Shader.hpp index 81841ad..d37d2c1 100644 --- a/src/graphics/Shader.hpp +++ b/src/graphics/Shader.hpp @@ -9,7 +9,7 @@ public: Shader() : shader_id(0), error_log(0) { } ~Shader(); - int Compile(const char *source, GLenum shaderType); + int Compile(const char *path, GLenum shaderType); char *GetError() { return error_log; } GLuint GetID() { return shader_id; } }; |