summaryrefslogtreecommitdiff
path: root/drivers/gles2/shader_gles2.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gles2/shader_gles2.h')
-rw-r--r--drivers/gles2/shader_gles2.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gles2/shader_gles2.h b/drivers/gles2/shader_gles2.h
index 468971471c..5805432d09 100644
--- a/drivers/gles2/shader_gles2.h
+++ b/drivers/gles2/shader_gles2.h
@@ -465,6 +465,8 @@ public:
void set_custom_shader(uint32_t p_code_id);
void free_custom_shader(uint32_t p_code_id);
+ uint32_t get_version_key() const { return conditional_version.version; }
+
void set_uniform_default(int p_idx, const Variant &p_value) {
if (p_value.get_type() == Variant::NIL) {