summaryrefslogtreecommitdiff
path: root/src/render/shaders/shader.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/shaders/shader.h')
-rw-r--r--src/render/shaders/shader.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/render/shaders/shader.h b/src/render/shaders/shader.h
index 6ee964704..adcc29702 100644
--- a/src/render/shaders/shader.h
+++ b/src/render/shaders/shader.h
@@ -34,6 +34,9 @@ class Shader final : public Resource
A_DELETE_COPY(Shader)
+ unsigned int getShaderId() const
+ { return mShaderId; }
+
protected:
unsigned int mShaderId;
};