diff options
Diffstat (limited to 'source/blender/gpu/intern/gpu_shader_private.hh')
-rw-r--r-- | source/blender/gpu/intern/gpu_shader_private.hh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/gpu/intern/gpu_shader_private.hh b/source/blender/gpu/intern/gpu_shader_private.hh index eac39dccd81..3c29fdec36c 100644 --- a/source/blender/gpu/intern/gpu_shader_private.hh +++ b/source/blender/gpu/intern/gpu_shader_private.hh @@ -64,6 +64,9 @@ class Shader { virtual void vertformat_from_shader(GPUVertFormat *) const = 0; + /* DEPRECATED: Kept only because of BGL API. */ + virtual int program_handle_get(void) const = 0; + inline const char *const name_get(void) const { return name; |