Update NDK to 28

This commit is contained in:
Patrick Nicolas
2025-07-04 23:43:39 +02:00
parent 3ac31fe5cc
commit 8e2719ff30
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ task "generatePngs"() {
android { android {
namespace "org.meumeu.wivrn" namespace "org.meumeu.wivrn"
ndkVersion "27.1.12297006" ndkVersion "28.1.13356709"
lint { lint {
disable += "ExpiredTargetSdkVersion" disable += "ExpiredTargetSdkVersion"
+1 -1
View File
@@ -717,7 +717,7 @@ scene_renderer::per_frame_resources & scene_renderer::current_frame()
void scene_renderer::update_material_descriptor_set(scene_data::material & material) void scene_renderer::update_material_descriptor_set(scene_data::material & material)
{ {
if (!material.ds || !material.ds.unique()) if (!material.ds || material.ds.use_count() != 1)
material.ds = ds_pool_material.allocate(); material.ds = ds_pool_material.allocate();
vk::DescriptorSet ds = **material.ds; vk::DescriptorSet ds = **material.ds;