mirror of
https://gitee.com/openharmony/third_party_vulkan-loader
synced 2025-01-13 18:51:04 +00:00
Destroy device before calling 2nd initAndEnum...
This commit is contained in:
parent
b1185063a0
commit
c0602a2b8f
@ -255,8 +255,8 @@ protected:
|
|||||||
}
|
}
|
||||||
|
|
||||||
virtual void TearDown() {
|
virtual void TearDown() {
|
||||||
xglInitAndEnumerateGpus(&this->app_info, XGL_NULL_HANDLE, 0, &gpu_count, XGL_NULL_HANDLE);
|
|
||||||
m_device->destroy_device();
|
m_device->destroy_device();
|
||||||
|
xglInitAndEnumerateGpus(&this->app_info, XGL_NULL_HANDLE, 0, &gpu_count, XGL_NULL_HANDLE);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user