diff options
Diffstat (limited to 'src/render/shaders/shaderprogram.h')
-rw-r--r-- | src/render/shaders/shaderprogram.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/render/shaders/shaderprogram.h b/src/render/shaders/shaderprogram.h index bb01a4802..a0781d684 100644 --- a/src/render/shaders/shaderprogram.h +++ b/src/render/shaders/shaderprogram.h @@ -38,6 +38,9 @@ class ShaderProgram final : public Resource A_DELETE_COPY(ShaderProgram) + unsigned int getProgramId() const + { return mProgramId; } + protected: unsigned int mProgramId; Shader *mVertex; |