diff options
Diffstat (limited to 'source/blender/gpu/opengl/gl_shader.cc')
-rw-r--r-- | source/blender/gpu/opengl/gl_shader.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/gpu/opengl/gl_shader.cc b/source/blender/gpu/opengl/gl_shader.cc index cc5f83228d6..28b89ad48f5 100644 --- a/source/blender/gpu/opengl/gl_shader.cc +++ b/source/blender/gpu/opengl/gl_shader.cc @@ -426,4 +426,9 @@ void GLShader::vertformat_from_shader(GPUVertFormat *format) const } } +int GLShader::program_handle_get(void) const +{ + return (int)this->shader_program_; +} + /** \} */ |