mirror of
https://gitee.com/openharmony/third_party_vulkan-loader
synced 2024-12-26 08:58:05 +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() {
|
||||
xglInitAndEnumerateGpus(&this->app_info, XGL_NULL_HANDLE, 0, &gpu_count, XGL_NULL_HANDLE);
|
||||
m_device->destroy_device();
|
||||
xglInitAndEnumerateGpus(&this->app_info, XGL_NULL_HANDLE, 0, &gpu_count, XGL_NULL_HANDLE);
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user