Update NDK to 28
This commit is contained in:
+1
-1
@@ -55,7 +55,7 @@ task "generatePngs"() {
|
||||
|
||||
android {
|
||||
namespace "org.meumeu.wivrn"
|
||||
ndkVersion "27.1.12297006"
|
||||
ndkVersion "28.1.13356709"
|
||||
|
||||
lint {
|
||||
disable += "ExpiredTargetSdkVersion"
|
||||
|
||||
@@ -717,7 +717,7 @@ scene_renderer::per_frame_resources & scene_renderer::current_frame()
|
||||
|
||||
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();
|
||||
|
||||
vk::DescriptorSet ds = **material.ds;
|
||||
|
||||
Reference in New Issue
Block a user