diff --git a/drivers/gles2/rasterizer_storage_gles2.cpp b/drivers/gles2/rasterizer_storage_gles2.cpp index 1db66167f..5b9e23ef4 100644 --- a/drivers/gles2/rasterizer_storage_gles2.cpp +++ b/drivers/gles2/rasterizer_storage_gles2.cpp @@ -1680,6 +1680,9 @@ void RasterizerStorageGLES2::shader_get_param_list(RID p_shader, Listpush_back(pi); diff --git a/servers/rendering/shader_language.cpp b/servers/rendering/shader_language.cpp index bd607353b..7ef8ab05c 100644 --- a/servers/rendering/shader_language.cpp +++ b/servers/rendering/shader_language.cpp @@ -926,6 +926,8 @@ String ShaderLanguage::get_datatype_name(DataType p_type) { return "samplerExternalOES"; case TYPE_STRUCT: return "struct"; + default: { + } } return ""; @@ -2701,6 +2703,8 @@ Variant ShaderLanguage::constant_value_to_variant(const Vector