mirror of
https://github.com/WiVRn/WiVRn.git
synced 2026-11-30 05:43:06 -08:00
Update NDK to 28
This commit is contained in:
1 parent
3ac31fe5cc
commit
8e2719ff30
2 files changed
+2
-2
No files matched your search
+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