Destroy device before calling 2nd initAndEnum...

This commit is contained in:
Tobin Ehlis 2014-10-23 15:18:50 -06:00 committed by Courtney Goeltzenleuchter
parent b1185063a0
commit c0602a2b8f

View File

@ -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);
}
};