Skip to content

Commit

Permalink
Allow codegen for UniformSetCacheRD for godot >=4.3
Browse files Browse the repository at this point in the history
- UniformSetCacheRD has been reintroduced by godotengine/godot@5a988456
  • Loading branch information
Yarwin committed Jul 27, 2024
1 parent 355dae9 commit 549ebe3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions godot-codegen/src/special_cases/special_cases.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,13 @@ pub fn is_godot_type_deleted(godot_ty: &str) -> bool {
return true;
}

// UniformSetCacheRD has been reintroduced in 4.3
// see: https://github.com/godotengine/godot/pull/80214
#[cfg(since_api = "4.3")]
if godot_ty == "UniformSetCacheRD" {
return false;
}

match godot_ty {
// Hardcoded cases that are not accessible.
// Only on Android.
Expand Down

0 comments on commit 549ebe3

Please sign in to comment.