summaryrefslogtreecommitdiff
path: root/shader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'shader.cpp')
-rw-r--r--shader.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/shader.cpp b/shader.cpp
index 8d3493e..06943f0 100644
--- a/shader.cpp
+++ b/shader.cpp
@@ -92,3 +92,7 @@ void GLShaderProgram::use() {
gl_check_error("Failed to use program");
}
+
+GLuint GLShaderProgram::get_program() {
+ return program;
+}