aboutsummaryrefslogtreecommitdiff
path: root/include/RenderBackend/OpenGL/VertexShader.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2017-12-21 22:52:12 +0100
committerdec05eba <dec05eba@protonmail.com>2021-11-18 15:21:48 +0100
commitbfd21732b35a3856b1f72c826816c2857710fcb3 (patch)
tree4a3f19551c744db3e339a64ac1afa2ebe1ec015f /include/RenderBackend/OpenGL/VertexShader.hpp
parentca92d8c90f7103db6d7cae4cef49b278d804b474 (diff)
Added shader program
Diffstat (limited to 'include/RenderBackend/OpenGL/VertexShader.hpp')
-rw-r--r--include/RenderBackend/OpenGL/VertexShader.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/RenderBackend/OpenGL/VertexShader.hpp b/include/RenderBackend/OpenGL/VertexShader.hpp
index ec8be22..3239be2 100644
--- a/include/RenderBackend/OpenGL/VertexShader.hpp
+++ b/include/RenderBackend/OpenGL/VertexShader.hpp
@@ -48,7 +48,7 @@ namespace amalgine
const std::string& getInputAttributeName(i32 attributeIndex);
ShaderInputVec2 defineInputVec2(const std::string &name);
void defineMain(VertexShaderMainFunc mainFunc);
- std::string build();
+ std::string build() const;
private:
void writeHeader(const std::string &code);
void writeBody(const std::string &code);